aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2001-12-17 21:32:25 +0000
committerCorinna Vinschen <corinna@vinschen.de>2001-12-17 21:32:25 +0000
commitefeae9a3177285440741dee9b371e4b07b12bb41 (patch)
treef2c9fc871d37e123efa2dce9ba6a953d9caaeb3b /newlib/libc
parent513a848fe6a042dbf7420a794194eaba8292689b (diff)
downloadnewlib-efeae9a3177285440741dee9b371e4b07b12bb41.zip
newlib-efeae9a3177285440741dee9b371e4b07b12bb41.tar.gz
newlib-efeae9a3177285440741dee9b371e4b07b12bb41.tar.bz2
* libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
conditionalized including of getopt stuff.
Diffstat (limited to 'newlib/libc')
-rw-r--r--newlib/libc/sys/cygwin/include/unistd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/newlib/libc/sys/cygwin/include/unistd.h b/newlib/libc/sys/cygwin/include/unistd.h
index a293861..9818176 100644
--- a/newlib/libc/sys/cygwin/include/unistd.h
+++ b/newlib/libc/sys/cygwin/include/unistd.h
@@ -4,6 +4,8 @@
#define _UNISTD_H_
# include <sys/unistd.h>
+# define __UNISTD_GETOPT__
# include <getopt.h>
+# undef __UNISTD_GETOPT__
#endif /* _UNISTD_H_ */