commit | 95ccdde1f2995a8b69f4285d1a9fb9e4b924793b | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sat Feb 01 09:28:36 2014 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Sat Feb 01 09:29:03 2014 +0100 |
tree | f4784279b401e91f6dce92959c0f7d61804041b0 | |
parent | 818dca50984b758b7ec6ebe8874aeb92594ef446 [diff] |
BUILD: listener: add fcntl.h and unistd.h Otherwise it fails to build on some platforms.
diff --git a/src/listener.c b/src/listener.c index 05bb743..7ab1a87 100644 --- a/src/listener.c +++ b/src/listener.c
@@ -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>