2010-06-13 00:17:30 +00:00
|
|
|
--- a/src/trace-tcp.c
|
|
|
|
+++ b/src/trace-tcp.c
|
2009-04-17 13:52:19 +00:00
|
|
|
@@ -24,6 +24,7 @@
|
|
|
|
|
|
|
|
#undef _GNU_SOURCE
|
|
|
|
#define _BSD_SOURCE 1
|
|
|
|
+#define __FAVOR_BSD 1
|
|
|
|
|
|
|
|
#include <string.h>
|
|
|
|
#include <inttypes.h>
|
2010-06-13 00:17:30 +00:00
|
|
|
--- a/src/trace-udp.c
|
|
|
|
+++ b/src/trace-udp.c
|
2009-04-17 13:52:19 +00:00
|
|
|
@@ -24,6 +24,7 @@
|
|
|
|
|
|
|
|
#undef _GNU_SOURCE
|
|
|
|
#define _BSD_SOURCE 1
|
|
|
|
+#define __FAVOR_BSD 1
|
|
|
|
|
|
|
|
#include <string.h>
|
|
|
|
#include <stdbool.h>
|