From 3ecaf7e54cf08ec2098874a95bc2f3d41df84cea Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 4 Nov 2001 03:20:48 +0000 Subject: [PATCH] Include unistd.h, if it exists. --- src/ChangeLog | 8 ++++++++ src/xfns.c | 4 ++++ 2 files changed, 12 insertions(+) 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 -- 2.39.5