Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/sys/cygwin/include/unistd.h')
-rw-r--r--newlib/libc/sys/cygwin/include/unistd.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/newlib/libc/sys/cygwin/include/unistd.h b/newlib/libc/sys/cygwin/include/unistd.h
new file mode 100644
index 000000000..9818176b9
--- /dev/null
+++ b/newlib/libc/sys/cygwin/include/unistd.h
@@ -0,0 +1,11 @@
+/* unistd.h for Cygwin. */
+
+#ifndef _UNISTD_H_
+#define _UNISTD_H_
+
+# include <sys/unistd.h>
+# define __UNISTD_GETOPT__
+# include <getopt.h>
+# undef __UNISTD_GETOPT__
+
+#endif /* _UNISTD_H_ */