summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nt/ChangeLog4
-rw-r--r--nt/inc/unistd.h3
2 files changed, 7 insertions, 0 deletions
diff --git a/nt/ChangeLog b/nt/ChangeLog
index 8cb9594d4d..35fcefe5b1 100644
--- a/nt/ChangeLog
+++ b/nt/ChangeLog
@@ -1,3 +1,7 @@
+2012-12-09 Eli Zaretskii <eliz@gnu.org>
+
+ * inc/unistd.h (unsetenv): Provide a prototype.
+
2012-12-08 Eli Zaretskii <eliz@gnu.org>
* inc/ms-w32.h (putenv): Redirect to sys_putenv.
diff --git a/nt/inc/unistd.h b/nt/inc/unistd.h
index e751ed124d..5fdd9c8eb8 100644
--- a/nt/inc/unistd.h
+++ b/nt/inc/unistd.h
@@ -28,4 +28,7 @@ extern int faccessat (int, char const *, int, int);
#define O_NOCTTY 0
+/* This is normally on stdlib.h, but we don't override that header. */
+extern int unsetenv (const char *);
+
#endif /* _UNISTD_H */