diff src/xfns.c @ 40700:6f6287da52d1

Include unistd.h, if it exists.
author Richard M. Stallman <rms@gnu.org>
date Sun, 04 Nov 2001 03:20:33 +0000
parents cdfd4d09b79a
children 221a78cc7b5f
line wrap: on
line diff
--- a/src/xfns.c	Sun Nov 04 03:20:10 2001 +0000
+++ b/src/xfns.c	Sun Nov 04 03:20:33 2001 +0000
@@ -24,6 +24,10 @@
 #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