From: Martin Willi Date: Wed, 9 Jul 2014 08:53:36 +0000 (+0200) Subject: dumm: Undefine _GNU_SOURCE before including , as it usually redefines it X-Git-Tag: 5.2.0~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9128666812bab8ecbfa25cd1f8d0e922f5e8f167;p=thirdparty%2Fstrongswan.git dumm: Undefine _GNU_SOURCE before including , as it usually redefines it --- diff --git a/src/dumm/ext/dumm.c b/src/dumm/ext/dumm.c index 03ecbe40de..d791c089d1 100644 --- a/src/dumm/ext/dumm.c +++ b/src/dumm/ext/dumm.c @@ -32,6 +32,8 @@ #undef PACKAGE_URL /* avoid redefintiion of snprintf etc. */ #define RUBY_DONT_SUBST +/* undef our _GNU_SOURCE, as it gets redefined by */ +#undef _GNU_SOURCE #include static dumm_t *dumm;