]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
[BUILD] fix build on FreeBSD (missing fd_set declaration)
authorWilly Tarreau <w@1wt.eu>
Wed, 24 Jan 2007 17:20:50 +0000 (18:20 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 24 Jan 2007 17:20:50 +0000 (18:20 +0100)
Sorin Pop reported a patch to fix build on FreeBSD.
The file common/standard.h used an fd_set in a declaration
but did not include enough headers for it to be known.

include/common/standard.h

index fa9ed17acb489b5e98de8598410bda7c995ce6c4..ec5e755d0d7639a6e782f65663c47449c9eab296 100644 (file)
@@ -24,6 +24,7 @@
 
 #include <netinet/in.h>
 #include <common/config.h>
+#include <proto/fd.h>
 
 /****** string-specific macros and functions ******/
 /* if a > max, then bound <a> to <max>. The macro returns the new <a> */