aboutgitcodebugslistschat
path: root/pcap.c
diff options
context:
space:
mode:
Diffstat (limited to 'pcap.c')
-rw-r--r--pcap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/pcap.c b/pcap.c
index 8ff1636..2c390f2 100644
--- a/pcap.c
+++ b/pcap.c
@@ -12,7 +12,6 @@
* Author: Stefano Brivio <sbrivio@redhat.com>
*/
-#define _GNU_SOURCE
#include <stdio.h>
#include <stddef.h>
#include <stdint.h>
@@ -29,6 +28,8 @@
#include <unistd.h>
#include <net/if.h>
+#include <linux/ipv6.h>
+
#include "util.h"
#include "passt.h"