diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-11-27 12:02:45 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-12-02 07:46:25 +0100 |
commit | 8f6b7abd1aed966f205cc26e09ef38f9b0d40744 (patch) | |
tree | ce1bbb3e882e050a865755bf159331b8b0ea7ba6 /testsuites/psxtests/psxdevctl01/test.c | |
parent | ada/sp19: Add m4 generated sptest.adb (diff) | |
download | rtems-8f6b7abd1aed966f205cc26e09ef38f9b0d40744.tar.bz2 |
Move feature macro before "config.h" include
This allows to use header includes in "config.h" to reduce the build
configuration checks.
Update #3818.
Diffstat (limited to 'testsuites/psxtests/psxdevctl01/test.c')
-rw-r--r-- | testsuites/psxtests/psxdevctl01/test.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/testsuites/psxtests/psxdevctl01/test.c b/testsuites/psxtests/psxdevctl01/test.c index 0fe9d9460b..ed22ba8410 100644 --- a/testsuites/psxtests/psxdevctl01/test.c +++ b/testsuites/psxtests/psxdevctl01/test.c @@ -13,11 +13,12 @@ * http://www.rtems.org/license/LICENSE. */ +#define _POSIX_26_C_SOURCE + #ifdef HAVE_CONFIG_H #include "config.h" #endif -#define _POSIX_26_C_SOURCE #include "tmacros.h" #include <errno.h> #include <sys/ioctl.h> |