Commit 031b541f authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

Fix latest changes in nt/inc/unistd.h.

 nt/inc/unistd.h: Don't include fcntl.h and don't define O_RDWR.

Fixes: debbugs:12881
parent dfa8939b
2012-11-18 Eli Zaretskii <>
* inc/unistd.h: Don't include fcntl.h and don't define O_RDWR.
2012-11-17 Juanma Barranquero <>
* config.nt: Sync with autogen/
......@@ -26,17 +26,6 @@ extern int faccessat (int, char const *, int, int);
#define AT_EACCESS 4
/* Here are some more fcntl.h macros that default to gnulib-compatible
values. Include <fcntl.h> first, to make sure we don't override
its values if any. FIXME: If we know <fcntl.h> does not define
O_NOCTTY and O_RDWR, this can be replaced with a simple "#define
O_NOCTTY 0" and "#define O_RDWR 2". */
#include <fcntl.h>
#ifndef O_NOCTTY
#define O_NOCTTY 0
#ifndef O_RDWR
#define O_RDWR 2
#endif /* _UNISTD_H */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment