summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nt/ChangeLog5
-rw-r--r--nt/inc/unistd.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/nt/ChangeLog b/nt/ChangeLog
index a1c9f3c7cd..aca1236657 100644
--- a/nt/ChangeLog
+++ b/nt/ChangeLog
@@ -1,3 +1,8 @@
+2013-01-11 Eli Zaretskii <eliz@gnu.org>
+
+ * inc/unistd.h (O_IGNORE_CTTY): Define, as it is unconditionally
+ used in term.c. (Bug#13387)
+
2013-01-09 Juanma Barranquero <lekktu@gmail.com>
* config.nt: Sync with autogen/config.in.
diff --git a/nt/inc/unistd.h b/nt/inc/unistd.h
index 5fdd9c8eb8..9c8a64d5ed 100644
--- a/nt/inc/unistd.h
+++ b/nt/inc/unistd.h
@@ -27,6 +27,7 @@ extern int faccessat (int, char const *, int, int);
#define AT_SYMLINK_NOFOLLOW 4096
#define O_NOCTTY 0
+#define O_IGNORE_CTTY 0
/* This is normally on stdlib.h, but we don't override that header. */
extern int unsetenv (const char *);