mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
20 lines
351 B
Diff
20 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>
|