--- ./src/zeroconf.c.orig	2015-05-31 12:47:36.561592772 +0200
+++ ./src/zeroconf.c	2015-05-31 12:47:45.544688057 +0200
@@ -33,6 +33,7 @@
 #include <unistd.h>
 #include <stdlib.h>
 #include <limits.h>
+#include <fcntl.h>
 
 #include <avahi-common/domain.h>
 #include <avahi-common/error.h>
