On Fri, Feb 26, 2010 at 03:35:41PM -0500, Jeff Buchbinder wrote:
> Willy Tarreau wrote:
> >Thanks for your feedback, that helps a lot. Unfortunately I don't
> >have any OpenBSD anymore here :-/
> >  
> No problem.
> 
> About the error messages; it gives a bunch of error messages about 
> "/usr/include/sys/socket.h", complaining about syntax errors.

Could you please check if the following patch is enough to fix it ?
I think it should in fact.

Thanks,
Willy

diff --git a/include/common/compat.h b/include/common/compat.h
index 3c939ce..9eecdfb 100644
--- a/include/common/compat.h
+++ b/include/common/compat.h
@@ -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>
 


Reply via email to