X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Flib%2Fdnssd.c;h=4859e3239c7aa569109a7d27933d4c67508fbb29;hb=c68fb30cb9e4c63228569a6a6749ec3325091dc9;hp=53f238cfc331a3eea7fa168a99beebdaae0c5a15;hpb=6da213500acdf779fcae9749cec487bf4a79c75f;p=deb_shairplay.git 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"