strongswan: Include musl.h after _GNU_SOURCE define 3039/head
authorHans Dedecker <dedeckeh@gmail.com>
Tue, 9 Aug 2016 12:55:04 +0000 (14:55 +0200)
committerHans Dedecker <dedeckeh@gmail.com>
Wed, 2 Nov 2016 12:44:43 +0000 (13:44 +0100)
commitfbbab2e7a7fbae6ce7e56c9d51c55b2a0b785ef9
tree6ae313f71ba4d99459199083c9b3a1140dab68a0
parent39f0b6f067217de83889110428890acad9accab4
strongswan: Include musl.h after _GNU_SOURCE define

musl.h was included before _GNU_SOURCE in 101-musl-fixes patch
leading to compilation issue on gcc (RTLD_DEFAULT not being
defined in dlfcn.h due to __USE_GNU not being set).
As described in the feature test macro man page feature macro
can be defined in the source code but need to be defined before
including any headers.

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
net/strongswan/patches/101-musl-fixes.patch