diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-04-07 09:09:29 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-04-07 09:09:48 +0200 |
commit | af13b01888fff2ab458965aaaa40beeacf054098 (patch) | |
tree | 9feefd71ef1b9f97f12126c05a5e05cb539df77a | |
parent | score: Add missing declaration (diff) | |
download | rtems-af13b01888fff2ab458965aaaa40beeacf054098.tar.bz2 |
network: Quirk for Newlib compatibility
Newlib provides now a declration for random() in <stdlib.h>. This
confilicts with the define in <rtems/rtems_bsdnet_internal.h>.
-rw-r--r-- | cpukit/libnetworking/rtems/rtems_showroute.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cpukit/libnetworking/rtems/rtems_showroute.c b/cpukit/libnetworking/rtems/rtems_showroute.c index 24eb12d63e..6080fa3b4a 100644 --- a/cpukit/libnetworking/rtems/rtems_showroute.c +++ b/cpukit/libnetworking/rtems/rtems_showroute.c @@ -26,6 +26,7 @@ */ #undef free #undef malloc +#undef random #include <stdlib.h> /* |