aboutsummaryrefslogtreecommitdiff
path: root/libX11/src/XlibInt.c
diff options
context:
space:
mode:
Diffstat (limited to 'libX11/src/XlibInt.c')
-rw-r--r--libX11/src/XlibInt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libX11/src/XlibInt.c b/libX11/src/XlibInt.c
index c0a45d41e..9ffb9fb3c 100644
--- a/libX11/src/XlibInt.c
+++ b/libX11/src/XlibInt.c
@@ -43,6 +43,7 @@ from The Open Group.
#include <X11/Xpoll.h>
#include <assert.h>
#include <stdio.h>
+#include <unistd.h>
#ifdef WIN32
#include <direct.h>
#endif