summaryrefslogtreecommitdiff
path: root/nt/inc/unistd.h
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2012-12-10 00:10:18 +0200
committerEli Zaretskii <eliz@gnu.org>2012-12-10 00:10:18 +0200
commit8d1a544c118268dcd72633c69b920800cdb167ee (patch)
tree7470f8b6565aecab43aed3d95b4e8d570148d748 /nt/inc/unistd.h
parentca065258cc3f6622dba45654f01cb71589cd29d4 (diff)
downloademacs-8d1a544c118268dcd72633c69b920800cdb167ee.tar.gz
Provide a prototype for unsetenv on MS-Windows.
nt/inc/unistd.h (unsetenv): Provide a prototype.
Diffstat (limited to 'nt/inc/unistd.h')
-rw-r--r--nt/inc/unistd.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/nt/inc/unistd.h b/nt/inc/unistd.h
index e751ed124d3..5fdd9c8eb88 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 */