diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/quotearg.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/quotearg.c b/lib/quotearg.c index 5e7e01184..f9ebc6df3 100644 --- a/lib/quotearg.c +++ b/lib/quotearg.c @@ -25,10 +25,12 @@ # include <stddef.h> /* For the definition of size_t on windows w/MSVC. */ #endif #include <sys/types.h> -#include <quotearg.h> -#include <xalloc.h> #include <ctype.h> +#include <errno.h> +#ifndef errno +extern int errno; +#endif #if ENABLE_NLS # include <libintl.h> @@ -97,6 +99,9 @@ # endif #endif +#include "quotearg.h" +#include "xalloc.h" + #define INT_BITS (sizeof (int) * CHAR_BIT) #if defined (STDC_HEADERS) || (!defined (isascii) && !defined (HAVE_ISASCII)) |