aboutsummaryrefslogtreecommitdiff
path: root/libX11
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-05-10 15:00:00 +0000
committermarha <marha@users.sourceforge.net>2011-05-10 15:00:00 +0000
commitf871d84ccfff423c34259024eaccc61e475cea6b (patch)
treeb637341a56e28c2be99ee33f42e076ea5d67b130 /libX11
parentc7b29834765d81334999132150d40ebbbadd0990 (diff)
downloadvcxsrv-f871d84ccfff423c34259024eaccc61e475cea6b.tar.gz
vcxsrv-f871d84ccfff423c34259024eaccc61e475cea6b.tar.bz2
vcxsrv-f871d84ccfff423c34259024eaccc61e475cea6b.zip
Solved compilation warnings
Diffstat (limited to 'libX11')
-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