summaryrefslogtreecommitdiff
path: root/src/xfns.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2001-11-04 03:20:48 +0000
committerRichard M. Stallman <rms@gnu.org>2001-11-04 03:20:48 +0000
commit3ecaf7e54cf08ec2098874a95bc2f3d41df84cea (patch)
tree2bd925b7c5d3bede7dcbe69a413e5f5ebfec5a54 /src/xfns.c
parent409847a1ce06c12a4bae4d9ab9df5a1c2c6bdfd6 (diff)
downloademacs-3ecaf7e54cf08ec2098874a95bc2f3d41df84cea.tar.gz
emacs-3ecaf7e54cf08ec2098874a95bc2f3d41df84cea.tar.bz2
emacs-3ecaf7e54cf08ec2098874a95bc2f3d41df84cea.zip
Include unistd.h, if it exists.
Diffstat (limited to 'src/xfns.c')
-rw-r--r--src/xfns.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/xfns.c b/src/xfns.c
index fe1f0b0f449..8f7e13311f8 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -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