]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUILD: listener: add fcntl.h and unistd.h
authorWilly Tarreau <w@1wt.eu>
Sat, 1 Feb 2014 08:28:36 +0000 (09:28 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 1 Feb 2014 08:29:03 +0000 (09:29 +0100)
Otherwise it fails to build on some platforms.

src/listener.c

index 05bb7435aa84ef50853cb65d6490c35e42f52a2f..7ab1a87d14812c0bbd34c7e60d173152be648506 100644 (file)
@@ -14,6 +14,8 @@
 #include <errno.h>
 #include <stdio.h>
 #include <string.h>
+#include <unistd.h>
+#include <fcntl.h>
 
 #include <common/accept4.h>
 #include <common/config.h>