Hi Joris,

On Tue, Sep 04, 2012 at 01:45:29PM +0200, joris dedieu wrote:
> Hi, Willy
> 
> Thanks for this long time expected feature !
> 
> >
> > Have a lot of fun and please report your success/failures,
> 
> There is an include issue in this snapshot on FreeBSD (witch is not I
> think ssl related) :
(...)
> A workaround is to include sys/socket.h in include/common/standard.h.
> 
> Once corrected, ssl support successfully build and run on FreeBSD 8.3.
> 
> Joris

Thanks for the report, patch merged and attached.

Willy

>From d50265aa0ed40969f2659c001e261e4ca78d011f Mon Sep 17 00:00:00 2001
From: Willy Tarreau <w...@1wt.eu>
Date: Tue, 4 Sep 2012 14:18:33 +0200
Subject: [PATCH] BUILD: include sys/socket.h to fix build failure on FreeBSD

Joris Dedieu reported that include/common/standard.h needs this.
---
 include/common/standard.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/include/common/standard.h b/include/common/standard.h
index 511a1dd..93b9e36 100644
--- a/include/common/standard.h
+++ b/include/common/standard.h
@@ -26,6 +26,7 @@
 #include <string.h>
 #include <time.h>
 #include <sys/types.h>
+#include <sys/socket.h>
 #include <sys/un.h>
 #include <netinet/in.h>
 #include <common/config.h>
-- 
1.7.1

Reply via email to