summaryrefslogtreecommitdiffstats
path: root/freebsd/sbin/route/route.c
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/sbin/route/route.c')
-rw-r--r--freebsd/sbin/route/route.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/freebsd/sbin/route/route.c b/freebsd/sbin/route/route.c
index fde2162a..c5585f5c 100644
--- a/freebsd/sbin/route/route.c
+++ b/freebsd/sbin/route/route.c
@@ -44,6 +44,15 @@ static char sccsid[] = "@(#)route.c 8.6 (Berkeley) 4/28/95";
#ifdef __rtems__
#define __need_getopt_newlib
#include <getopt.h>
+#define RTEMS_BSD_PROGRAM_NO_OPEN_WRAP
+#define RTEMS_BSD_PROGRAM_NO_SOCKET_WRAP
+#define RTEMS_BSD_PROGRAM_NO_CLOSE_WRAP
+#define RTEMS_BSD_PROGRAM_NO_FOPEN_WRAP
+#define RTEMS_BSD_PROGRAM_NO_FCLOSE_WRAP
+#define RTEMS_BSD_PROGRAM_NO_MALLOC_WRAP
+#define RTEMS_BSD_PROGRAM_NO_CALLOC_WRAP
+#define RTEMS_BSD_PROGRAM_NO_REALLOC_WRAP
+#define RTEMS_BSD_PROGRAM_NO_FREE_WRAP
#include <machine/rtems-bsd-program.h>
#include <machine/rtems-bsd-commands.h>
#endif