Mercurial > hg > xemacs-beta
changeset 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 | 37441ddea94d |
files | src/ChangeLog src/regex.c |
diffstat | 2 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog Mon Aug 13 04:46:48 2001 +0000 +++ b/src/ChangeLog Mon Aug 13 21:45:57 2001 +0000 @@ -1,3 +1,8 @@ +2001-08-13 Ben Wing <ben@xemacs.org> + + * regex.c: need to include stddef.h for ptrdiff_t on Solaris, when + regex.c is compiled as part of lib-src. + 2001-06-24 Ben Wing <ben@xemacs.org> * EmacsFrame.c (EmacsFrameSetValues):
--- 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))