From 33646fba5842803cd12c631e806f64b18db7a85a Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 4 Nov 2001 17:34:31 +0000 Subject: [PATCH] Include unistd.h, if it exists. --- src/xfns.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/xfns.c b/src/xfns.c index bd7894774b7..836e2d4c827 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.2