]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
[BUILD] includes order breaks OpenBSD build
authorWilly Tarreau <w@1wt.eu>
Fri, 26 Feb 2010 21:00:19 +0000 (22:00 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 26 Feb 2010 21:00:19 +0000 (22:00 +0100)
Jeff Buchbinder reported that OpenBSD build broke on compat.h,
and that this patch fixes the issue.

include/common/compat.h

index 3c939ce61f6ad8b709b04a9e6d76d0ab70dd83aa..9eecdfbee6e51763854d4806ed0962d6c464f9b6 100644 (file)
@@ -23,8 +23,8 @@
 #define _COMMON_COMPAT_H
 
 /* This is needed on Linux for Netfilter includes */
-#include <sys/socket.h>
 #include <sys/types.h>
+#include <sys/socket.h>
 #include <common/config.h>
 #include <common/standard.h>