diff options
Diffstat (limited to 'winsup/cygwin/include/getopt.h')
-rw-r--r-- | winsup/cygwin/include/getopt.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/winsup/cygwin/include/getopt.h b/winsup/cygwin/include/getopt.h index ba095ba..1efff1c 100644 --- a/winsup/cygwin/include/getopt.h +++ b/winsup/cygwin/include/getopt.h @@ -31,6 +31,9 @@ * SUCH DAMAGE. */ +#ifdef _COMPILING_NEWLIB +#include_next "getopt.h" +#else #ifndef __GETOPT_H__ #define __GETOPT_H__ @@ -84,3 +87,4 @@ int getopt_long (int, char *const *, const char *, const struct option *, int *) #endif /* __GETOPT_LONG_H__ */ #endif /* __UNISTD_GETOPT__ */ +#endif /*_INSIDE_NEWLIB*/ |