summaryrefslogtreecommitdiff
path: root/testsuites/psxtests/psxhdrs/stdlib/unlockpt.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxhdrs/stdlib/unlockpt.c')
-rwxr-xr-xtestsuites/psxtests/psxhdrs/stdlib/unlockpt.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxhdrs/stdlib/unlockpt.c b/testsuites/psxtests/psxhdrs/stdlib/unlockpt.c
index c2cf2a7c7d..f60f659773 100755
--- a/testsuites/psxtests/psxhdrs/stdlib/unlockpt.c
+++ b/testsuites/psxtests/psxhdrs/stdlib/unlockpt.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 = unlockpt(fd);
return (return_value != -1);
-} \ No newline at end of file
+}