about summary refs log tree commit diff
path: root/string/argz.h
diff options
context:
space:
mode:
Diffstat (limited to 'string/argz.h')
-rw-r--r--string/argz.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/string/argz.h b/string/argz.h
index f9d0ac9950..e07d74208a 100644
--- a/string/argz.h
+++ b/string/argz.h
@@ -20,18 +20,18 @@
 #define _ARGZ_H	1
 
 #include <features.h>
-
-#define __need_error_t
 #include <errno.h>
 #include <string.h>		/* Need size_t, and strchr is called below.  */
 
+__BEGIN_DECLS
+
+/* error_t may or may not be available from errno.h, depending on the
+   operating system.  */
 #ifndef __error_t_defined
+# define __error_t_defined 1
 typedef int error_t;
 #endif
 
-
-__BEGIN_DECLS
-
 /* Make a '\0' separated arg vector from a unix argv vector, returning it in
    ARGZ, and the total length in LEN.  If a memory allocation error occurs,
    ENOMEM is returned, otherwise 0.  The result can be destroyed using free. */