Re: [PATCH] Fix OSX compilation errors

2016-09-11 Thread Willy Tarreau
On Sun, Sep 11, 2016 at 08:52:17AM -0400, Dinko Korunic wrote: > Hi Willy, > > I can backport them ??? in 1.5 and 1.4 we???d also have to use IPPROTO_IP > instead of SOL_IP on OSX, as SOL_IP is simply not defined for > setsockopt(). I think that we could use something along these lines: > > #ifnd

Re: [PATCH] Fix OSX compilation errors

2016-09-11 Thread Dinko Korunic
Hi Willy, I can backport them — in 1.5 and 1.4 we’d also have to use IPPROTO_IP instead of SOL_IP on OSX, as SOL_IP is simply not defined for setsockopt(). I think that we could use something along these lines: #ifndef SOL_IP # define SOL_IP IPPROTO_IP #endif Let me know what you think. Kind r

Re: [PATCH] Fix OSX compilation errors

2016-09-10 Thread Willy Tarreau
Hi Dinko, On Fri, Sep 09, 2016 at 12:52:55AM -0700, Dinko Korunic wrote: > The following really trivial patch fixes compilation issues on OSX (El > Capitan at least). Applied, thanks. Do you want it backported to 1.6 and maybe even 1.5 ? The seem to be affected as well. Thanks, Willy

[PATCH] Fix OSX compilation errors

2016-09-09 Thread Dinko Korunic
Hi, The following really trivial patch fixes compilation issues on OSX (El Capitan at least). Kind regards, D. 0001-BUG-MINOR-fix-osx-compilation-errors.patch Description: Binary data