changeset 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 d51d2fa675d0
children 7353f2238507
files src/xfns.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
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