aboutsummaryrefslogtreecommitdiff
path: root/libXt
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-03-28 06:02:23 +0000
committermarha <marha@users.sourceforge.net>2011-03-28 06:02:23 +0000
commit0d9293f57738117231d77df831b6569d4f0739f2 (patch)
tree9697ae2d79c3f85b742fa9ad4dea5b47a94c494b /libXt
parent41a502478a2972358dec934d82ee401c61a5cd36 (diff)
downloadvcxsrv-0d9293f57738117231d77df831b6569d4f0739f2.tar.gz
vcxsrv-0d9293f57738117231d77df831b6569d4f0739f2.tar.bz2
vcxsrv-0d9293f57738117231d77df831b6569d4f0739f2.zip
Solved compilation problems
Diffstat (limited to 'libXt')
-rw-r--r--libXt/src/Error.c1
-rw-r--r--libXt/src/Selection.c1
-rw-r--r--libXt/src/Shell.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/libXt/src/Error.c b/libXt/src/Error.c
index edec46e61..b2170557a 100644
--- a/libXt/src/Error.c
+++ b/libXt/src/Error.c
@@ -74,6 +74,7 @@ in this Software without prior written authorization from The Open Group.
#include "IntrinsicI.h"
#include <stdio.h>
#include <stdlib.h>
+#include <unistd.h>
/* The error handlers in the application context aren't used since we can't
come up with a uniform way of using them. If you can, define
diff --git a/libXt/src/Selection.c b/libXt/src/Selection.c
index 6040527bc..841e25a9e 100644
--- a/libXt/src/Selection.c
+++ b/libXt/src/Selection.c
@@ -76,6 +76,7 @@ in this Software without prior written authorization from The Open Group.
#include "SelectionI.h"
#include <X11/Xatom.h>
#include <stdio.h>
+#include <unistd.h>
void _XtSetDefaultSelectionTimeout(
unsigned long *timeout)
diff --git a/libXt/src/Shell.c b/libXt/src/Shell.c
index e0580ee4b..c0003a2a1 100644
--- a/libXt/src/Shell.c
+++ b/libXt/src/Shell.c
@@ -89,6 +89,7 @@ in this Software without prior written authorization from The Open Group.
#endif
#include <stdio.h>
#include <stdlib.h>
+#include <unistd.h>
#ifdef EDITRES
#include <X11/Xmu/Editres.h>