aboutsummaryrefslogtreecommitdiffstats
path: root/lib/makepath.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1993-05-13 01:14:47 +0000
committerJim Meyering <jim@meyering.net>1993-05-13 01:14:47 +0000
commit5ca6750d57a9d89163cd3548758589d4ab14c75c (patch)
tree334b725d51c4b0772bf0fc9339c658e208c4e356 /lib/makepath.c
parentmerge with 1.5 (diff)
downloadcoreutils-5ca6750d57a9d89163cd3548758589d4ab14c75c.tar.gz
coreutils-5ca6750d57a9d89163cd3548758589d4ab14c75c.zip
merge with 3.5.4
Diffstat (limited to 'lib/makepath.c')
-rw-r--r--lib/makepath.c6
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