summaryrefslogtreecommitdiffstats
path: root/avahi-autoipd/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'avahi-autoipd/main.c')
-rw-r--r--avahi-autoipd/main.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/avahi-autoipd/main.c b/avahi-autoipd/main.c
index 27c5a29..4a51dc3 100644
--- a/avahi-autoipd/main.c
+++ b/avahi-autoipd/main.c
@@ -62,6 +62,12 @@
#ifndef __linux__
#include <pcap.h>
+
+/* Old versions of PCAP defined it as D_IN */
+#ifndef PCAP_D_IN
+#define PCAP_D_IN D_IN
+#endif
+
#endif
#include <avahi-common/malloc.h>
@@ -77,6 +83,8 @@
#include "main.h"
#include "iface.h"
+
+
/* An implementation of RFC 3927 */
/* Constants from the RFC */