aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-01-19 09:50:47 +0000
committermarha <marha@users.sourceforge.net>2011-01-19 09:50:47 +0000
commitc0f115d0f9228a4c185f268f55a12ffb8bf6ebbd (patch)
treebc630668d53772952af2b69720c71d4624dd1605
parent655a17a38657600f90827b8f8291fbe55c9befc1 (diff)
downloadvcxsrv-c0f115d0f9228a4c185f268f55a12ffb8bf6ebbd.tar.gz
vcxsrv-c0f115d0f9228a4c185f268f55a12ffb8bf6ebbd.tar.bz2
vcxsrv-c0f115d0f9228a4c185f268f55a12ffb8bf6ebbd.zip
Also define F_OK in unistd.h
-rw-r--r--X11/Xw32defs.h2
-rw-r--r--include/unistd.h1
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