Use `"'s when including quotearg.h and xalloc.h, not the `<...>' notation.
authorJim Meyering <jim@meyering.net>
Thu, 21 Nov 2002 13:16:04 +0000 (13:16 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 21 Nov 2002 13:16:04 +0000 (13:16 +0000)
Include <errno.h> and declare errno if necessary.

lib/quotearg.c

index 5e7e011..f9ebc6d 100644 (file)
 # 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))