]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUILD: makefile: fix build of IPv6 header on aix51
authorWilly Tarreau <w@1wt.eu>
Fri, 29 Mar 2019 16:40:23 +0000 (17:40 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 1 Apr 2019 05:45:22 +0000 (07:45 +0200)
ip6_hdr is called ip6hdr there and is only defined when STEVENS_API is
defined.

Makefile

index 26dfcb45a336aca523cb6ba26a25f2ac29a5c5a9..b3a8e7acde986d9610fe5ba8d69df21fb4b7e9d1 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -382,7 +382,7 @@ endif
 ifeq ($(TARGET),aix51)
   set_target_defaults = $(call default_opts, \
     USE_POLL USE_LIBCRYPT USE_OBSOLETE_LINKER)
-  TARGET_CFLAGS   = -Dss_family=__ss_family
+  TARGET_CFLAGS   = -Dss_family=__ss_family -Dip6_hdr=ip6hdr -DSTEVENS_API
   DEBUG_CFLAGS    =
 endif