Commit bf7d32c9 bf7d32c9eeb9899a1ff7b74b5aa47ce755c10803 by Sergey Poznyakoff

Protect typedef int error_t by an additional

#ifndef. Thanks Alex S. Moore <asmoore@edge.net> for helping
find the problem.
1 parent 0d96ce99
...@@ -29,10 +29,12 @@ ...@@ -29,10 +29,12 @@
29 #define __need_error_t 29 #define __need_error_t
30 #include <errno.h> 30 #include <errno.h>
31 31
32 #ifndef error_t
32 #ifndef __error_t_defined 33 #ifndef __error_t_defined
33 typedef int error_t; 34 typedef int error_t;
34 # define __error_t_defined 35 # define __error_t_defined
35 #endif 36 #endif
37 #endif
36 38
37 /* My libc doesn't have these. -mccallum@jprc.com */ 39 /* My libc doesn't have these. -mccallum@jprc.com */
38 #ifndef HAVE_PROGRAM_INVOCATION_NAME 40 #ifndef HAVE_PROGRAM_INVOCATION_NAME
......