summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxhdrs/ucontext/setcontext.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxhdrs/ucontext/setcontext.c')
-rwxr-xr-xtestsuites/psxtests/psxhdrs/ucontext/setcontext.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxhdrs/ucontext/setcontext.c b/testsuites/psxtests/psxhdrs/ucontext/setcontext.c
index d2f2848d96..3f8cd6328f 100755
--- a/testsuites/psxtests/psxhdrs/ucontext/setcontext.c
+++ b/testsuites/psxtests/psxhdrs/ucontext/setcontext.c
@@ -30,11 +30,12 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
+#define _XOPEN_SOURCE_EXTENDED 1
+
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
-#define _XOPEN_SOURCE_EXTENDED 1
#include <ucontext.h>
int return_value = 0;
@@ -54,4 +55,4 @@ void func( void )
{
setcontext(ucp);
return_value = 1;
-} \ No newline at end of file
+}