diff options
Diffstat (limited to 'libXmu/src')
-rw-r--r-- | libXmu/src/RdBitF.c | 1 | ||||
-rw-r--r-- | libXmu/src/StrToCurs.c | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/libXmu/src/RdBitF.c b/libXmu/src/RdBitF.c index 58b90a8aa..42b53a763 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 17695ed1f..ca4460583 100644 --- a/libXmu/src/StrToCurs.c +++ b/libXmu/src/StrToCurs.c @@ -59,8 +59,8 @@ SOFTWARE. #include <X11/Xmu/CharSet.h> #include <unistd.h> -#ifndef X_NOT_POSIX #include <stdlib.h> + #ifdef _POSIX_SOURCE #include <limits.h> #else @@ -68,7 +68,7 @@ SOFTWARE. #include <limits.h> #undef _POSIX_SOURCE #endif -#endif /* X_NOT_POSIX */ + #ifndef PATH_MAX #ifdef WIN32 #define PATH_MAX 512 |