]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: cttproxy: remove a warning on undeclared close()
authorWilly Tarreau <w@1wt.eu>
Fri, 5 Oct 2012 20:18:07 +0000 (22:18 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 5 Oct 2012 20:18:07 +0000 (22:18 +0200)
This one is harmless and only happens on old systems anyway.

src/cttproxy.c

index 0cfd834deaaa6f33bb56a7c7fe1431bd42be0ea6..eaa47342b21178a18790de81b05b11d6326604ee 100644 (file)
@@ -16,6 +16,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#include <unistd.h>
 
 #include <sys/socket.h>
 #include <sys/stat.h>