BUILD: make proto_tcp.c compatible with musl library
authorBaptiste Assmann <bedis9@gmail.com>
Mon, 8 Aug 2016 12:12:08 +0000 (14:12 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 8 Aug 2016 12:20:23 +0000 (14:20 +0200)
commit39a5f22c36bbcce3918f3eab6948bd583209d79b
tree42745b82d0664574e9acad365f80b81de4b512a4
parentaa1ea8a9eef6ec2bc225cf303bfad8876cb8f887
BUILD: make proto_tcp.c compatible with musl library

musl library expose tcp_info structure only when _GNU_SOURCE is defined.
This is required to build HAProxy on OSes relying musl such as Alpine
Linux.
src/proto_tcp.c