]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: include: add sys/types before netinet/tcp.h
authorWilly Tarreau <w@1wt.eu>
Thu, 11 Jun 2020 09:22:44 +0000 (11:22 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 11 Jun 2020 09:22:44 +0000 (11:22 +0200)
commit0a4b0ab17758a53a05f23d66b9933da8992e1708
tree2600c15fbe416ae425d9ce4295ef004f25a25ab3
parent1385c88560ef5022382ecf683ec933e5b0d45dcc
BUILD: include: add sys/types before netinet/tcp.h

Apparently Cygwin requires sys/types.h before netinet/tcp.h but doesn't
include it by itself, as shown here:
  https://github.com/haproxy/haproxy/actions/runs/131943890

This patch makes sure it's always present, which is in server.c and
the SPOA example.
contrib/spoa_example/spoa.c
src/server.c