X-Git-Url: https://git.piment-noir.org/?p=deb_shairplay.git;a=blobdiff_plain;f=src%2Flib%2Fdnssd.c;h=4859e3239c7aa569109a7d27933d4c67508fbb29;hp=53f238cfc331a3eea7fa168a99beebdaae0c5a15;hb=53aa68520dec5dcdb1b2eed8bebeb84be4cd357b;hpb=6da213500acdf779fcae9749cec487bf4a79c75f diff --git a/src/lib/dnssd.c b/src/lib/dnssd.c index 53f238c..4859e32 100644 --- a/src/lib/dnssd.c +++ b/src/lib/dnssd.c @@ -12,11 +12,23 @@ * Lesser General Public License for more details. */ +/* These defines allow us to compile on iOS */ +#ifndef __has_feature +# define __has_feature(x) 0 +#endif +#ifndef __has_extension +# define __has_extension __has_feature +#endif + #include #include #include #include +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "dnssd.h" #include "dnssdint.h" #include "global.h"