0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-23 14:56:16 +00:00
termux-packages/root-packages/libnetfilter-queue/fix-missing-define.patch
2022-04-18 14:32:00 +05:30

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