diff options
Diffstat (limited to 'test.c')
-rw-r--r-- | test.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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 */ |