diff options
author | marha <marha@users.sourceforge.net> | 2011-03-28 06:02:23 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2011-03-28 06:02:23 +0000 |
commit | 0d9293f57738117231d77df831b6569d4f0739f2 (patch) | |
tree | 9697ae2d79c3f85b742fa9ad4dea5b47a94c494b | |
parent | 41a502478a2972358dec934d82ee401c61a5cd36 (diff) | |
download | vcxsrv-0d9293f57738117231d77df831b6569d4f0739f2.tar.gz vcxsrv-0d9293f57738117231d77df831b6569d4f0739f2.tar.bz2 vcxsrv-0d9293f57738117231d77df831b6569d4f0739f2.zip |
Solved compilation problems
-rw-r--r-- | X11/xtrans/Xtrans.c | 1 | ||||
-rw-r--r-- | apps/xclock/Clock.c | 2 | ||||
-rw-r--r-- | libXmu/src/StrToCurs.c | 1 | ||||
-rw-r--r-- | libXt/src/Error.c | 1 | ||||
-rw-r--r-- | libXt/src/Selection.c | 1 | ||||
-rw-r--r-- | libXt/src/Shell.c | 1 |
6 files changed, 6 insertions, 1 deletions
diff --git a/X11/xtrans/Xtrans.c b/X11/xtrans/Xtrans.c index 879a1d309..caf1ff68e 100644 --- a/X11/xtrans/Xtrans.c +++ b/X11/xtrans/Xtrans.c @@ -48,6 +48,7 @@ from The Open Group. */
#include <ctype.h>
+#include <unistd.h>
#ifdef _MSC_VER
#include <X11\Xwinsock.h>
diff --git a/apps/xclock/Clock.c b/apps/xclock/Clock.c index f0bab4740..9322473a7 100644 --- a/apps/xclock/Clock.c +++ b/apps/xclock/Clock.c @@ -113,7 +113,7 @@ SOFTWARE. #include <locale.h> extern Boolean no_locale; /* if True, use old (unlocalized) behaviour */ #endif - +#include <unistd.h> /* Private Definitions */ diff --git a/libXmu/src/StrToCurs.c b/libXmu/src/StrToCurs.c index 9c998ffd0..e9f36b96e 100644 --- a/libXmu/src/StrToCurs.c +++ b/libXmu/src/StrToCurs.c @@ -57,6 +57,7 @@ SOFTWARE. #include <X11/Xmu/Drawing.h>
#include <X11/Xmu/CurUtil.h>
#include <X11/Xmu/CharSet.h>
+#include <unistd.h>
#ifndef X_NOT_POSIX
#include <stdlib.h>
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>
|