]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[BUILD] fix build for systems without SOL_TCP
authorWilly Tarreau <w@1wt.eu>
Sun, 16 Aug 2009 12:13:47 +0000 (14:13 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 16 Aug 2009 12:13:47 +0000 (14:13 +0200)
commitc9fce2fee83cfaaee026595db8ce020f7b264d02
tree9208402bc68f229a2157fe98e938575dee04a2ea
parentb55932ddaf4342a7c43b257da5bd1f7be5806381
[BUILD] fix build for systems without SOL_TCP

Andrew Azarov reported that haproxy-1.4-dev1 does not build
under FreeBSD 7.2 because SOL_TCP is not defined. So add a
check for its definition before using it. This only impacts
network optimisations anyway.
src/backend.c
src/checks.c
src/proto_tcp.c
src/stream_sock.c