]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Enable -D_XPG4_2 for compilation on Solaris
authorGert Doering <gert@greenie.muc.de>
Mon, 10 Oct 2016 07:39:31 +0000 (09:39 +0200)
committerGert Doering <gert@greenie.muc.de>
Mon, 10 Oct 2016 17:40:05 +0000 (19:40 +0200)
commit4e2038ed2e77aa7189852304d802382bad140f53
tree60a19c46a472a7dda85d362104d88434c0b3e6a1
parente25d03a4cc0664f6ece067facb1bc8e38134f396
Enable -D_XPG4_2 for compilation on Solaris

Solaris' header files to not make necessary macros (like CMSG_SPACE)
available unless told "this is the API level we want" - thus, do so.

This fixes --multihome on OpenSolaris 11 (at least).

(v2: same patch as in 6eaa70e80aea7, reverted in e25d03a4cc0, and now
with correct description)

trac #750

Signed-off-by: Gert Doering <gert@greenie.muc.de>
Acked-by: Arne Schwabe <arne@rfc2549.org>
Message-Id: <20161010073931.54469-1-gert@greenie.muc.de>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg12634.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
configure.ac