summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Harrison <colin.harrison-at-virgin.net>2008-04-29 13:13:06 +0100
committerAlan Hourihane <alanh@tungstengraphics.com>2008-04-29 13:13:06 +0100
commit85f77401635dfa57d40de89aa2c9f39a344a8d3b (patch)
tree95e0344107b914ac3d5de5c7d11bd0784ba2e458
parentaa6e9793fbb8621ce1f1ed580298621e29638619 (diff)
Fix build problems on WIN32 platforms
-rwxr-xr-x[-rw-r--r--]src/GetHost.c1
-rwxr-xr-x[-rw-r--r--]src/RdBitF.c3
2 files changed, 4 insertions, 0 deletions
diff --git a/src/GetHost.c b/src/GetHost.c
index ca7bed5..19793fd 100644..100755
--- a/src/GetHost.c
+++ b/src/GetHost.c
@@ -41,6 +41,7 @@ in this Software without prior written authorization from The Open Group.
#include <unistd.h>
#ifdef WIN32
+#include <X11/Xlibint.h>
#include <X11/Xwinsock.h>
#endif
diff --git a/src/RdBitF.c b/src/RdBitF.c
index eb5fe59..073e3df 100644..100755
--- a/src/RdBitF.c
+++ b/src/RdBitF.c
@@ -57,6 +57,9 @@ in this Software without prior written authorization from The Open Group.
#include <stdio.h>
#include <ctype.h>
#include <X11/Xmu/Drawing.h>
+#ifdef WIN32
+#include <X11/Xwindows.h>
+#endif
#define MAX_SIZE 255