aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libX11/src/FSWrap.c2
-rw-r--r--libX11/src/InitExt.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/libX11/src/FSWrap.c b/libX11/src/FSWrap.c
index f1629323c..d97c39504 100644
--- a/libX11/src/FSWrap.c
+++ b/libX11/src/FSWrap.c
@@ -63,7 +63,7 @@ from The Open Group.
#include "Xlcint.h"
#include <ctype.h>
#include <X11/Xos.h>
-
+#include <unistd.h>
#define XMAXLIST 256
diff --git a/libX11/src/InitExt.c b/libX11/src/InitExt.c
index 8eca3e989..f14da412c 100644
--- a/libX11/src/InitExt.c
+++ b/libX11/src/InitExt.c
@@ -32,6 +32,7 @@ from The Open Group.
#include <X11/Xlibint.h>
#include <X11/Xos.h>
#include <stdio.h>
+#include <unistd.h>
/*
* This routine is used to link a extension in so it will be called