* include/getopt.h: Accommodate recent unfortunate newlib changes.

This commit is contained in:
Christopher Faylor 2006-01-05 17:35:14 +00:00
parent 4cf4fd4d1c
commit b39b8c14fa
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2006-01-05 Christopher Faylor <cgf@timesys.com>
* include/getopt.h: Accommodate recent unfortunate newlib changes.
2006-01-05 Christopher Faylor <cgf@timesys.com>
* cygtls.cc (_cygtls::remove): Don't output debugging info if this

View File

@ -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*/