platform/posix: fix _GNU_SOURCE define in lib_posix

This commit is contained in:
mittorn 2019-11-18 23:48:49 +07:00
parent 94fc0febc7
commit 37435365e2
1 changed files with 3 additions and 1 deletions

View File

@ -12,9 +12,11 @@ but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
*/
#define _GNU_SOURCE
#include "platform/platform.h"
#if XASH_LIB == LIB_POSIX
#define _GNU_SOURCE
#include "common.h"
#include "library.h"