diff options
author | Christopher Faylor <me@cgf.cx> | 2006-01-05 17:35:14 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2006-01-05 17:35:14 +0000 |
commit | b39b8c14fa6484710af9b1d9bef286f15581d1e5 (patch) | |
tree | 9bde20986bc4c44a79c68722a235b5f9869abe60 /winsup/cygwin/include/getopt.h | |
parent | 4cf4fd4d1c413ac782504183ec614aed0ed68fb6 (diff) | |
download | newlib-b39b8c14fa6484710af9b1d9bef286f15581d1e5.zip newlib-b39b8c14fa6484710af9b1d9bef286f15581d1e5.tar.gz newlib-b39b8c14fa6484710af9b1d9bef286f15581d1e5.tar.bz2 |
* include/getopt.h: Accommodate recent unfortunate newlib changes.
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*/ |