summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-04-07 09:09:29 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-04-07 09:09:48 +0200
commitaf13b01888fff2ab458965aaaa40beeacf054098 (patch)
tree9feefd71ef1b9f97f12126c05a5e05cb539df77a /cpukit
parentscore: Add missing declaration (diff)
downloadrtems-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>.
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/libnetworking/rtems/rtems_showroute.c1
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>
/*