diff options
Diffstat (limited to 'testsuites/psxtests/psxhdrs/math')
-rw-r--r-- | testsuites/psxtests/psxhdrs/math/y0l.c | 3 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/math/y1.c | 3 | ||||
-rw-r--r-- | testsuites/psxtests/psxhdrs/math/y1l.c | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/testsuites/psxtests/psxhdrs/math/y0l.c b/testsuites/psxtests/psxhdrs/math/y0l.c index c036bcd591..4384ada48a 100644 --- a/testsuites/psxtests/psxhdrs/math/y0l.c +++ b/testsuites/psxtests/psxhdrs/math/y0l.c @@ -30,11 +30,12 @@ * POSSIBILITY OF SUCH DAMAGE. */ +#define _POSIX_C_SOURCE 200809L + #ifdef HAVE_CONFIG_H #include "config.h" #endif -#define _POSIX_C_SOURCE 200809L #include <math.h> int test( void ); diff --git a/testsuites/psxtests/psxhdrs/math/y1.c b/testsuites/psxtests/psxhdrs/math/y1.c index ea973297f8..d880728c1b 100644 --- a/testsuites/psxtests/psxhdrs/math/y1.c +++ b/testsuites/psxtests/psxhdrs/math/y1.c @@ -30,11 +30,12 @@ * POSSIBILITY OF SUCH DAMAGE. */ +#define _XOPEN_SOURCE 500 + #ifdef HAVE_CONFIG_H #include "config.h" #endif -#define _XOPEN_SOURCE 500 #include <math.h> int test( void ); diff --git a/testsuites/psxtests/psxhdrs/math/y1l.c b/testsuites/psxtests/psxhdrs/math/y1l.c index d50925cf46..48dbaab940 100644 --- a/testsuites/psxtests/psxhdrs/math/y1l.c +++ b/testsuites/psxtests/psxhdrs/math/y1l.c @@ -30,11 +30,12 @@ * POSSIBILITY OF SUCH DAMAGE. */ +#define _POSIX_C_SOURCE 200809L + #ifdef HAVE_CONFIG_H #include "config.h" #endif -#define _POSIX_C_SOURCE 200809L #include <math.h> int test( void ); |