]> git.ipfire.org Git - thirdparty/bash.git/blobdiff - test.c
Imported from ../bash-2.01.1.tar.gz.
[thirdparty/bash.git] / test.c
diff --git a/test.c b/test.c
index 4b7c82955819cbb5903719e0912c32dbe042abbb..ceb98c7b9a3db1bef21c3bd32b5b5a6950c5cdce 100644 (file)
--- a/test.c
+++ b/test.c
 #  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 */
 #  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 */