]> git.meshlink.io Git - catta/commitdiff
fix build on old freebsd, patch from zmi (Closes #158)
authorLennart Poettering <lennart@poettering.net>
Sun, 19 Aug 2007 23:45:30 +0000 (23:45 +0000)
committerLennart Poettering <lennart@poettering.net>
Sun, 19 Aug 2007 23:45:30 +0000 (23:45 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1523 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

avahi-autoipd/main.c

index 27c5a29509f740a2233b9b74d34bed43c16e0bdf..4a51dc378ef4fc559f55689b4ffa3352c10e400b 100644 (file)
 
 #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 */