From: Richard M. Stallman Date: Sun, 4 Nov 2001 03:20:48 +0000 (+0000) Subject: Include unistd.h, if it exists. X-Git-Tag: ttn-vms-21-2-B4~18842 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3ecaf7e54cf08ec2098874a95bc2f3d41df84cea;p=emacs.git Include unistd.h, if it exists. --- diff --git a/src/ChangeLog b/src/ChangeLog index 502f607a0ea..43efd8fc05e 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,11 @@ +2001-11-03 Richard M. Stallman + + * xfns.c: Include unistd.h, if it exists. + + * editfns.c: Move the include of ctype.h after unistd.h. + + * gmalloc.c: Test BROKEN_PROTOTYPES. + 2001-11-03 Ken Raeburn * lisp.h (CHECK_STRING_CAR): New macro. diff --git a/src/xfns.c b/src/xfns.c index fe1f0b0f449..8f7e13311f8 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -24,6 +24,10 @@ Boston, MA 02111-1307, USA. */ #include #include +#ifdef HAVE_UNISTD_H +#include +#endif + /* This makes the fields of a Display accessible, in Xlib header files. */ #define XLIB_ILLEGAL_ACCESS