You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
920 B

  1. commit 369d595d95f4945f0e14dd02757cf64eaf8512d9
  2. Author: Willy Tarreau <w@1wt.eu>
  3. Date: Fri Mar 29 17:40:23 2019 +0100
  4. BUILD: makefile: fix build of IPv6 header on aix51
  5. ip6_hdr is called ip6hdr there and is only defined when STEVENS_API is
  6. defined.
  7. (cherry picked from commit 6f4fd1b183fc70863926bdc31d7f0b4739c92c56)
  8. Signed-off-by: Willy Tarreau <w@1wt.eu>
  9. (cherry picked from commit 99903a0c6419edb515a07a6e1fba4b8bc78babd1)
  10. Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
  11. diff --git a/Makefile b/Makefile
  12. index bdf5a2d0..81e70e02 100644
  13. --- a/Makefile
  14. +++ b/Makefile
  15. @@ -358,7 +358,7 @@ ifeq ($(TARGET),aix51)
  16. # This is for AIX 5.1
  17. USE_POLL = implicit
  18. USE_LIBCRYPT = implicit
  19. - TARGET_CFLAGS = -Dss_family=__ss_family
  20. + TARGET_CFLAGS = -Dss_family=__ss_family -Dip6_hdr=ip6hdr -DSTEVENS_API
  21. DEBUG_CFLAGS =
  22. else
  23. ifeq ($(TARGET),aix52)