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

14 lines
332 B
Diff

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 */