summaryrefslogtreecommitdiff
path: root/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test.c')
-rw-r--r--test.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/test.c b/test.c
index 4b7c8295..ceb98c7b 100644
--- a/test.c
+++ b/test.c
@@ -42,6 +42,11 @@
# include <unistd.h>
#endif
+#include <errno.h>
+#if !defined (errno)
+extern int errno;
+#endif /* !errno */
+
#if !defined (_POSIX_VERSION)
# include <sys/file.h>
#endif /* !_POSIX_VERSION */
@@ -55,11 +60,6 @@
# define STRLEN(s) ((s)[0] ? ((s)[1] ? ((s)[2] ? strlen(s) : 2) : 1) : 0)
#endif
-#include <errno.h>
-#if !defined (errno)
-extern int errno;
-#endif /* !errno */
-
#if !defined (STREQ)
# define STREQ(a, b) ((a)[0] == (b)[0] && strcmp (a, b) == 0)
#endif /* !STREQ */