Protect typedef int error_t by an additional
#ifndef. Thanks Alex S. Moore <asmoore@edge.net> for helping find the problem.
Showing
1 changed file
with
2 additions
and
0 deletions
... | @@ -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 | ... | ... |
-
Please register or sign in to post a comment