2008-10-02 Joel Sherrill <joel.sherrill@oarcorp.com>

* libmisc/shell/main_cp.c, libmisc/shell/main_ls.c,
	libmisc/shell/main_mv.c, libmisc/shell/main_netstats.c,
	libmisc/shell/main_rm.c, libmisc/shell/shell_script.c: Newlib >
	1.16.0 requires __need_getopt_newlib to be defined to get visibility
	on the reentrancy extensions.
This commit is contained in:
Joel Sherrill
2008-10-02 20:16:16 +00:00
parent 5d209d6abb
commit b079fe33e4
7 changed files with 14 additions and 0 deletions

View File

@@ -25,6 +25,7 @@
#include <inttypes.h>
#include <sys/types.h>
#include <unistd.h>
#define __need_getopt_newlib
#include <getopt.h>
#include <rtems.h>