]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
[BUILD] types/proxy.h: reorder a few includes.
authorWilly Tarreau <w@1wt.eu>
Sun, 15 Oct 2006 21:18:47 +0000 (23:18 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 15 Oct 2006 21:18:47 +0000 (23:18 +0200)
OpenBSD is very sensible on the order of includes :
sys/types.h, sys/socket.h, netinet/in.h and arpa/inet.h must be
included in this exact order.

include/types/proxy.h

index 7a262dab551ff89497677db983ef83d467acf134..f3304e63b609839f15be94dc6792188c75c7768d 100644 (file)
 #ifndef _TYPES_PROXY_H
 #define _TYPES_PROXY_H
 
+#include <sys/types.h>
+#include <sys/socket.h>
 #include <netinet/in.h>
 #include <arpa/inet.h>
-#include <sys/socket.h>
 
 #include <common/appsession.h>
 #include <common/chtbl.h>