From: Marek VavruĊĦa Date: Sat, 3 Jan 2015 23:03:14 +0000 (+0100) Subject: tests: revert to _XOPEN_SOURCE=500 on Linux X-Git-Tag: v1.0.0-beta1~377 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af83df9fcda3c112b767e3aaee76314844620d92;p=thirdparty%2Fknot-resolver.git tests: revert to _XOPEN_SOURCE=500 on Linux --- diff --git a/tests/test.h b/tests/test.h index 948ea3156..e83d4e07e 100644 --- a/tests/test.h +++ b/tests/test.h @@ -16,7 +16,9 @@ #pragma once -#define _BSD_SOURCE +#ifdef __linux__ +#define _XOPEN_SOURCE 500 +#endif #include #include