mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-02 09:07:52 +08:00
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>.
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
*/
|
||||
#undef free
|
||||
#undef malloc
|
||||
#undef random
|
||||
#include <stdlib.h>
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user