[BUILD] compilation of haproxy-1.4-dev2 on FreeBSD
authorDmitry Sivachenko <mitya@cavia.pp.ru>
Mon, 24 Aug 2009 11:11:06 +0000 (15:11 +0400)
committerWilly Tarreau <w@1wt.eu>
Sun, 30 Aug 2009 12:45:19 +0000 (14:45 +0200)
commitcaf58986fbb59a0b38bf81170a0a55fefc8c74bf
treedc747ab51c86f1fbc2c9297b9c500ec5c532f8fa
parent6db06d3870ad4574414958574f1b5cf7a3f25997
[BUILD] compilation of haproxy-1.4-dev2 on FreeBSD

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)
src/backend.c
src/checks.c
src/proto_tcp.c
src/stream_sock.c