summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxhdrs/stdio/getline.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxhdrs/stdio/getline.c')
-rw-r--r--testsuites/psxtests/psxhdrs/stdio/getline.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/testsuites/psxtests/psxhdrs/stdio/getline.c b/testsuites/psxtests/psxhdrs/stdio/getline.c
index 9427d258e9..bbbc389a46 100644
--- a/testsuites/psxtests/psxhdrs/stdio/getline.c
+++ b/testsuites/psxtests/psxhdrs/stdio/getline.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 <stdio.h>
int test( void );