diff options
-rw-r--r-- | X11/Xw32defs.h | 2 | ||||
-rw-r--r-- | include/unistd.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/X11/Xw32defs.h b/X11/Xw32defs.h index b2e4b33ae..5fbc6bc21 100644 --- a/X11/Xw32defs.h +++ b/X11/Xw32defs.h @@ -72,8 +72,8 @@ typedef char *caddr_t; # define S_IEXEC _S_IEXEC # define F_OK 0 -# define X_OK 1 # define W_OK 2 # define R_OK 4 +# define X_OK R_OK # endif /* __GNUC__ */ #endif diff --git a/include/unistd.h b/include/unistd.h index 75e75d3e8..55e6815f3 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -5,4 +5,5 @@ #define snprintf _snprintf
#define strdup _strdup
+#include <X11\Xw32defs.h>
#endif
|