termux-packages/root-packages/libnetfilter-queue/fix-missing-define.patch

14 lines
332 B
Diff
Raw Normal View History

2021-11-01 12:49:54 +01:00
diff --git a/src/extra/pktbuff.c b/src/extra/pktbuff.c
index 6dd0ca9..bc4db1b 100644
--- a/src/extra/pktbuff.c
+++ b/src/extra/pktbuff.c
@@ -9,6 +9,8 @@
* This code has been sponsored by Vyatta Inc. <http://www.vyatta.com>
*/
+#define __USE_BSD
+
#include <errno.h>
#include <stdlib.h>
#include <string.h> /* for memcpy */