summaryrefslogtreecommitdiff
path: root/readconf.c
diff options
context:
space:
mode:
authordtucker <dtucker>2014-01-17 13:03:57 +0000
committerdtucker <dtucker>2014-01-17 13:03:57 +0000
commit259705ddec362633eb56606747d00eb3ff5e6619 (patch)
tree2b28bf27276eaa04818cd6a5cf9f86662511a03b /readconf.c
parentb764c30d4ceee15808071bbdcd2d2c9a2fef9787 (diff)
downloadopenssh-259705ddec362633eb56606747d00eb3ff5e6619.tar.gz
- (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 08e16852..9c7e73d7 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>