diff options
Diffstat (limited to 'lib/makepath.c')
| -rw-r--r-- | lib/makepath.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/makepath.c b/lib/makepath.c index 123d6abea..e61579021 100644 --- a/lib/makepath.c +++ b/lib/makepath.c @@ -46,9 +46,11 @@ char *alloca (); #include <stdlib.h> #endif -#if defined (STDC_HEADERS) || defined (HAVE_ERRNO_H) +#ifdef HAVE_ERRNO_H #include <errno.h> -#else +#endif + +#ifndef STDC_HEADERS extern int errno; #endif |
