summaryrefslogtreecommitdiffstats
path: root/crypto/openssh/includes.h
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/openssh/includes.h')
-rw-r--r--crypto/openssh/includes.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/crypto/openssh/includes.h b/crypto/openssh/includes.h
index 967fcc2..f1b47f6 100644
--- a/crypto/openssh/includes.h
+++ b/crypto/openssh/includes.h
@@ -49,7 +49,7 @@
#ifdef HAVE_NEXT
# include <libc.h>
#endif
-#ifdef HAVE_PATHS
+#ifdef HAVE_PATHS_H
# include <paths.h>
#endif
@@ -149,6 +149,8 @@
# include <sys/syslog.h>
#endif
+#include <errno.h>
+
/*
* On HP-UX 11.11, shadow.h and prot.h provide conflicting declarations
* of getspnam when _INCLUDE__STDC__ is defined, so we unset it here.
OpenPOWER on IntegriCloud