packages/ipv6/ndisc/patches/100-favor_bsd.patch
jow 79248ce0e6 [packages] ndisc:
- update to v0.9.9
	- fix compilation by providing dummy WIFCONTINUED() macro
	- package rdnssd DNS discovery deamon


git-svn-id: svn://svn.openwrt.org/openwrt/packages@21772 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-13 00:17:30 +00:00

21 lines
351 B
Diff

--- a/src/trace-tcp.c
+++ b/src/trace-tcp.c
@@ -24,6 +24,7 @@
#undef _GNU_SOURCE
#define _BSD_SOURCE 1
+#define __FAVOR_BSD 1
#include <string.h>
#include <inttypes.h>
--- a/src/trace-udp.c
+++ b/src/trace-udp.c
@@ -24,6 +24,7 @@
#undef _GNU_SOURCE
#define _BSD_SOURCE 1
+#define __FAVOR_BSD 1
#include <string.h>
#include <stdbool.h>