From: David Carlier Date: Wed, 7 Jun 2017 19:02:43 +0000 (+0100) Subject: BUG/MINOR: haproxy/cli : fix for solaris/illumos distros for CMSG* macros X-Git-Tag: v1.8-dev3~303 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=04919d53c591a7f3bfce4f19d9f0564f06a18bf9;p=thirdparty%2Fhaproxy.git BUG/MINOR: haproxy/cli : fix for solaris/illumos distros for CMSG* macros control message sockets macros implies (SUS)XPG4V2 enabled under solaris based oses. --- diff --git a/Makefile b/Makefile index 1c90a3ea50..88ba5525e2 100644 --- a/Makefile +++ b/Makefile @@ -286,7 +286,7 @@ ifeq ($(TARGET),solaris) # This is for Solaris 8 # We also enable getaddrinfo() which works since solaris 8. USE_POLL = implicit - TARGET_CFLAGS = -fomit-frame-pointer -DFD_SETSIZE=65536 -D_REENTRANT + TARGET_CFLAGS = -fomit-frame-pointer -DFD_SETSIZE=65536 -D_REENTRANT -D_XOPEN_SOURCE=500 -D__EXTENSIONS__ TARGET_LDFLAGS = -lnsl -lsocket USE_TPROXY = implicit USE_LIBCRYPT = implicit