From: Willy Tarreau Date: Fri, 29 Mar 2019 16:40:23 +0000 (+0100) Subject: BUILD: makefile: fix build of IPv6 header on aix51 X-Git-Tag: v2.0-dev3~358 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6f4fd1b183fc70863926bdc31d7f0b4739c92c56;p=thirdparty%2Fhaproxy.git BUILD: makefile: fix build of IPv6 header on aix51 ip6_hdr is called ip6hdr there and is only defined when STEVENS_API is defined. --- diff --git a/Makefile b/Makefile index 26dfcb45a3..b3a8e7acde 100644 --- 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