comparison 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
comparison
equal deleted inserted replaced
647:b39c14581166 648:e44bbdb4e51f
60 #undef MULE 60 #undef MULE
61 #endif 61 #endif
62 62
63 /* We need this for `regex.h', and perhaps for the Emacs include files. */ 63 /* We need this for `regex.h', and perhaps for the Emacs include files. */
64 #include <sys/types.h> 64 #include <sys/types.h>
65 #include <stddef.h> /* needed for ptrdiff_t under Solaris */
65 66
66 /* This is for other GNU distributions with internationalized messages. */ 67 /* This is for other GNU distributions with internationalized messages. */
67 #if defined (I18N3) && (defined (HAVE_LIBINTL_H) || defined (_LIBC)) 68 #if defined (I18N3) && (defined (HAVE_LIBINTL_H) || defined (_LIBC))
68 # include <libintl.h> 69 # include <libintl.h>
69 #else 70 #else