summaryrefslogtreecommitdiffstats
path: root/c/src/exec/libnetworking/rtems/rtems_showroute.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/exec/libnetworking/rtems/rtems_showroute.c')
-rw-r--r--c/src/exec/libnetworking/rtems/rtems_showroute.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/c/src/exec/libnetworking/rtems/rtems_showroute.c b/c/src/exec/libnetworking/rtems/rtems_showroute.c
index e471ccc58c..c0d0b231e8 100644
--- a/c/src/exec/libnetworking/rtems/rtems_showroute.c
+++ b/c/src/exec/libnetworking/rtems/rtems_showroute.c
@@ -2,8 +2,6 @@
* $Id$
*/
-/* #include <stdlib.h> */
-
#include <sys/param.h>
#include <sys/queue.h>
#include <sys/systm.h>
@@ -24,10 +22,11 @@
#include <arpa/inet.h>
/*
- * We'll use the application versions of malloc and free.
+ * We'll use the application versions of realloc and free.
*/
-#undef malloc
#undef free
+#undef malloc
+#include <stdlib.h>
/*
* Information per route