summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/shell/main_mv.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_mv.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_mv.c')
-rw-r--r--cpukit/libmisc/shell/main_mv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpukit/libmisc/shell/main_mv.c b/cpukit/libmisc/shell/main_mv.c
index a7a48bb97d..04cc8a33ee 100644
--- a/cpukit/libmisc/shell/main_mv.c
+++ b/cpukit/libmisc/shell/main_mv.c
@@ -55,6 +55,7 @@ __RCSID("$NetBSD: mv.c,v 1.41 2008/07/20 00:52:40 lukem Exp $");
#include <rtems.h>
#include <rtems/shell.h>
#include <rtems/shellconfig.h>
+#define __need_getopt_newlib
#include <getopt.h>
#include <sys/param.h>