# HG changeset patch # User Richard M. Stallman # Date 1004844033 0 # Node ID 6f6287da52d16c9606df97413007d191ae754bc4 # Parent d51d2fa675d0a1e14d6ea6547e2857c9c8b4289e Include unistd.h, if it exists. diff -r d51d2fa675d0 -r 6f6287da52d1 src/xfns.c --- 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 #include +#ifdef HAVE_UNISTD_H +#include +#endif + /* This makes the fields of a Display accessible, in Xlib header files. */ #define XLIB_ILLEGAL_ACCESS