summaryrefslogtreecommitdiffstats
path: root/readconf.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2014-01-17 14:03:57 +0100
committerDarren Tucker <dtucker@zip.com.au>2014-01-17 14:03:57 +0100
commita3357661ee1d5d553294f36e4940e8285c7f1332 (patch)
treecf153bf8ca518672852e71cfc3704b1cf727baab /readconf.c
parent - (dtucker) [configure.ac] Have --without-toolchain-hardening not turn off (diff)
downloadopenssh-a3357661ee1d5d553294f36e4940e8285c7f1332.tar.xz
openssh-a3357661ee1d5d553294f36e4940e8285c7f1332.zip
- (dtucker) [readconf.c] Wrap paths.h inside an ifdef. Allows building on
Solaris.
Diffstat (limited to 'readconf.c')
-rw-r--r--readconf.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/readconf.c b/readconf.c
index 08e168521..9c7e73d7d 100644
--- a/readconf.c
+++ b/readconf.c
@@ -27,7 +27,9 @@
#include <errno.h>
#include <fcntl.h>
#include <netdb.h>
-#include <paths.h>
+#ifdef HAVE_PATHS_H
+# include <paths.h>
+#endif
#include <pwd.h>
#include <signal.h>
#include <stdarg.h>