strdup() needs 'define _XOPEN_SOURCE 600 - Petr Pavlu

This commit is contained in:
Paul LeoNerd Evans 2011-08-25 22:49:17 +01:00
parent 8efef8e088
commit 447a3e7ab9
1 changed files with 1 additions and 2 deletions

View File

@ -1,6 +1,5 @@
// we want strdup()
#define _XPG6
#define _XOPEN_SOURCE 500
#define _XOPEN_SOURCE 600
#include "termkey.h"
#include "termkey-internal.h"