X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=avahi-autoipd%2Fmain.c;h=4a51dc378ef4fc559f55689b4ffa3352c10e400b;hb=7c966a2bfbadce6e924fc6dd2053e614b0449ea2;hp=27c5a29509f740a2233b9b74d34bed43c16e0bdf;hpb=648db528f5cc197c38f7b17bb09dd53958df6302;p=catta 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 */