From: Lennart Poettering Date: Sun, 19 Aug 2007 23:45:30 +0000 (+0000) Subject: fix build on old freebsd, patch from zmi (Closes #158) X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=cf1f05215e3651ed47ea530edc7e924787de1bc6;p=catta fix build on old freebsd, patch from zmi (Closes #158) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1523 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- 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 + +/* Old versions of PCAP defined it as D_IN */ +#ifndef PCAP_D_IN +#define PCAP_D_IN D_IN +#endif + #endif #include @@ -77,6 +83,8 @@ #include "main.h" #include "iface.h" + + /* An implementation of RFC 3927 */ /* Constants from the RFC */