From 21abaef9b0c0ffd54100554155426bd5b4360f07 Mon Sep 17 00:00:00 2001 From: Christian Mauderer Date: Fri, 15 Jul 2016 07:32:56 +0200 Subject: freebsd: Don't use new wrappers for old ports. Some of the commands have been adapted manually. So the wrapper currently don't necessarily work as expected. For example ifconfig calls malloc outside of the program call. --- freebsd/sbin/ping6/ping6.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'freebsd/sbin/ping6') diff --git a/freebsd/sbin/ping6/ping6.c b/freebsd/sbin/ping6/ping6.c index 704b4555..054cebf2 100644 --- a/freebsd/sbin/ping6/ping6.c +++ b/freebsd/sbin/ping6/ping6.c @@ -106,6 +106,15 @@ __FBSDID("$FreeBSD$"); #ifdef __rtems__ #define __need_getopt_newlib #include +#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 #include -- cgit v1.2.3