Include unistd.h, if it exists.
authorRichard M. Stallman <rms@gnu.org>
Sun, 4 Nov 2001 03:20:48 +0000 (03:20 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 4 Nov 2001 03:20:48 +0000 (03:20 +0000)
src/ChangeLog
src/xfns.c

index 502f607..43efd8f 100644 (file)
@@ -1,3 +1,11 @@
+2001-11-03  Richard M. Stallman  <rms@gnu.org>
+
+       * 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  <raeburn@gnu.org>
 
        * lisp.h (CHECK_STRING_CAR): New macro.
index fe1f0b0..8f7e133 100644 (file)
@@ -24,6 +24,10 @@ Boston, MA 02111-1307, USA.  */
 #include <stdio.h>
 #include <math.h>
 
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+
 /* This makes the fields of a Display accessible, in Xlib header files.  */
 
 #define XLIB_ILLEGAL_ACCESS