Index: avahi-autoipd/main.c
--- avahi-autoipd/main.c.orig	2017-05-20 18:26:00.362085000 +0200
+++ avahi-autoipd/main.c	2017-05-20 18:26:34.555885000 +0200
@@ -62,7 +62,7 @@
 #include <unistd.h>
 
 #ifndef __linux__
-#include <pcap.h>
+#include "pcap.h"
 #endif
 
 #include <avahi-common/malloc.h>
Index: configure
--- configure.orig	2016-02-16 03:16:07.593116883 +0100
+++ configure	2017-05-20 18:26:00.365127000 +0200
@@ -18243,7 +18243,7 @@
 # If using GCC specify some additional parameters
 if test "x$GCC" = "xyes" ; then
 
-    DESIRED_FLAGS="-Wall -W -Wextra -pedantic -pipe -Wformat -Wold-style-definition -Wdeclaration-after-statement -Wfloat-equal -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -fdiagnostics-show-option -Wno-cast-qual -fno-strict-aliasing"
+    DESIRED_FLAGS="-pipe -Wno-cast-qual -fno-strict-aliasing"
 
     if test "x$HAVE_NETLINK" = "xyes" ; then
         # Test whether rtnetlink.h can be included when compiled with -std=c99
