summaryrefslogtreecommitdiff
path: root/testsuites/psxtests/psxhdrs/stdlib/grantpt.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxhdrs/stdlib/grantpt.c')
-rwxr-xr-xtestsuites/psxtests/psxhdrs/stdlib/grantpt.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxhdrs/stdlib/grantpt.c b/testsuites/psxtests/psxhdrs/stdlib/grantpt.c
index 01c4a195c4..2ba0ad7787 100755
--- a/testsuites/psxtests/psxhdrs/stdlib/grantpt.c
+++ b/testsuites/psxtests/psxhdrs/stdlib/grantpt.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 <stdlib.h>
int test( void );
@@ -46,4 +47,4 @@ int test( void )
return_value = grantpt(fildes);
return return_value;
-} \ No newline at end of file
+}