Mercurial > hg > xemacs-beta
diff src/regex.c @ 648:e44bbdb4e51f
[xemacs-hg @ 2001-08-13 21:45:57 by ben]
regex.c: need to include stddef.h for ptrdiff_t on Solaris, when
regex.c is compiled as part of lib-src.
author | ben |
---|---|
date | Mon, 13 Aug 2001 21:45:57 +0000 |
parents | b39c14581166 |
children | fdefd0186b75 |
line wrap: on
line diff
--- a/src/regex.c Mon Aug 13 04:46:48 2001 +0000 +++ b/src/regex.c Mon Aug 13 21:45:57 2001 +0000 @@ -62,6 +62,7 @@ /* We need this for `regex.h', and perhaps for the Emacs include files. */ #include <sys/types.h> +#include <stddef.h> /* needed for ptrdiff_t under Solaris */ /* This is for other GNU distributions with internationalized messages. */ #if defined (I18N3) && (defined (HAVE_LIBINTL_H) || defined (_LIBC))