Re: Compilation of haproxy-1.4-dev2 on FreeBSD

2009-08-26 Thread Willy Tarreau
Hello, On Mon, Aug 24, 2009 at 03:11:06PM +0400, Dmitry Sivachenko wrote: Hello! Please consider the following patches. They are required to compile haproxy-1.4-dev2 on FreeBSD. Summary: 1) include sys/types.h before netinet/tcp.h 2) Use IPPROTO_TCP instead of SOL_TCP (they are both

Compilation of haproxy-1.4-dev2 on FreeBSD

2009-08-24 Thread Dmitry Sivachenko
Hello! Please consider the following patches. They are required to compile haproxy-1.4-dev2 on FreeBSD. Summary: 1) include sys/types.h before netinet/tcp.h 2) Use IPPROTO_TCP instead of SOL_TCP (they are both defined as 6, TCP protocol number) Thanks! --- src/backend.c.orig 2009-08-24