fix a missing define

This commit is contained in:
etmatrix 2021-11-01 12:49:54 +01:00 committed by Yaksh Bariya
parent e8a76815a3
commit eb06394ae3
No known key found for this signature in database
GPG Key ID: F7486BA7D3D27581

View File

@ -0,0 +1,13 @@
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 */