diff options
-rw-r--r-- | coreutils/fsync.c | 3 | ||||
-rw-r--r-- | include/mingw.h | 1 |
2 files changed, 1 insertions, 3 deletions
diff --git a/coreutils/fsync.c b/coreutils/fsync.c index f132087cd..5e77e2c16 100644 --- a/coreutils/fsync.c +++ b/coreutils/fsync.c | |||
@@ -26,9 +26,6 @@ | |||
26 | #ifndef O_NOATIME | 26 | #ifndef O_NOATIME |
27 | # define O_NOATIME 0 | 27 | # define O_NOATIME 0 |
28 | #endif | 28 | #endif |
29 | #ifndef O_NOCTTY | ||
30 | # define O_NOCTTY 0 | ||
31 | #endif | ||
32 | 29 | ||
33 | /* This is a NOFORK applet. Be very careful! */ | 30 | /* This is a NOFORK applet. Be very careful! */ |
34 | 31 | ||
diff --git a/include/mingw.h b/include/mingw.h index 652652c3d..7ee9c15cc 100644 --- a/include/mingw.h +++ b/include/mingw.h | |||
@@ -30,6 +30,7 @@ int inet_pton(int af, const char *src, void *dst); | |||
30 | #define FD_CLOEXEC 0x1 | 30 | #define FD_CLOEXEC 0x1 |
31 | #define O_NONBLOCK 0 | 31 | #define O_NONBLOCK 0 |
32 | #define O_NOFOLLOW 0 | 32 | #define O_NOFOLLOW 0 |
33 | #define O_NOCTTY 0 | ||
33 | #define O_SPECIAL 0x800000 | 34 | #define O_SPECIAL 0x800000 |
34 | 35 | ||
35 | /* | 36 | /* |