aboutsummaryrefslogtreecommitdiff
path: root/libXmu
diff options
context:
space:
mode:
Diffstat (limited to 'libXmu')
-rw-r--r--libXmu/src/RdBitF.c1
-rw-r--r--libXmu/src/StrToCurs.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/libXmu/src/RdBitF.c b/libXmu/src/RdBitF.c
index 02159c651..240c4c808 100644
--- a/libXmu/src/RdBitF.c
+++ b/libXmu/src/RdBitF.c
@@ -56,6 +56,7 @@ in this Software without prior written authorization from The Open Group.
#include <X11/Xmu/Drawing.h>
#ifdef WIN32
#include <X11/Xwindows.h>
+#include <direct.h> /* for _getdrives() */
#endif
#define MAX_SIZE 255
diff --git a/libXmu/src/StrToCurs.c b/libXmu/src/StrToCurs.c
index 7bb1da1cc..fc064c66e 100644
--- a/libXmu/src/StrToCurs.c
+++ b/libXmu/src/StrToCurs.c
@@ -58,8 +58,8 @@ SOFTWARE.
#include <X11/Xmu/CurUtil.h>
#include <X11/Xmu/CharSet.h>
-#ifndef X_NOT_POSIX
#include <stdlib.h>
+
#ifdef _POSIX_SOURCE
#include <limits.h>
#else
@@ -67,7 +67,7 @@ SOFTWARE.
#include <limits.h>
#undef _POSIX_SOURCE
#endif
-#endif /* X_NOT_POSIX */
+
#ifndef PATH_MAX
#ifdef WIN32
#define PATH_MAX 512