]> git.ipfire.org Git - thirdparty/openvpn.git/commit
On TARGET_LINUX define _GNU_SOURCE if not defined
authorDavid Sommerseth <dazo@users.sourceforge.net>
Wed, 10 Mar 2010 10:45:04 +0000 (11:45 +0100)
committerDavid Sommerseth <dazo@users.sourceforge.net>
Thu, 21 Oct 2010 09:34:58 +0000 (11:34 +0200)
commit1e02046b68af74e84eafbfadb6f856195bbbdcb0
tree278a73de0299da3d2a046332a628b2eeeca7e8a2
parent48fe8bb37167b57722d209274626f5f91975c001
On TARGET_LINUX define _GNU_SOURCE if not defined

This is to include peercred support on hosts where _GNU_SOURCE is not
defined by default.  This issue has been found on Gentoo with glibc-2.8.

The solution was discussed on the IRC meeting March 4, 2010
in #openvpn-discussions.
<http://thread.gmane.org/gmane.network.openvpn.devel/3242>

Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
Acked-by: James Yonan <james@openvpn.net>
syshead.h