summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/shell/main_rm.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-10-02 20:16:16 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-10-02 20:16:16 +0000
commitb079fe33e43036161b40f8a37d2e4db0a36308f4 (patch)
tree8f5e345d987d07b772665bbf9007e0ad6fa2aac9 /cpukit/libmisc/shell/main_rm.c
parent2008-10-02 Joel Sherrill <joel.sherrill@OARcorp.com> (diff)
downloadrtems-b079fe33e43036161b40f8a37d2e4db0a36308f4.tar.bz2
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.
Diffstat (limited to 'cpukit/libmisc/shell/main_rm.c')
-rw-r--r--cpukit/libmisc/shell/main_rm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpukit/libmisc/shell/main_rm.c b/cpukit/libmisc/shell/main_rm.c
index a3b1cc1ffc..b68fc5744c 100644
--- a/cpukit/libmisc/shell/main_rm.c
+++ b/cpukit/libmisc/shell/main_rm.c
@@ -50,6 +50,7 @@ __FBSDID("$FreeBSD: src/bin/rm/rm.c,v 1.58 2006/10/31 02:22:36 delphij Exp $");
#include <rtems.h>
#include <rtems/shell.h>
#include <rtems/shellconfig.h>
+#define __need_getopt_newlib
#include <getopt.h>
#include <sys/stat.h>