diff options
author | Darren Tucker <dtucker@zip.com.au> | 2014-01-17 14:03:57 +0100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2014-01-17 14:03:57 +0100 |
commit | a3357661ee1d5d553294f36e4940e8285c7f1332 (patch) | |
tree | cf153bf8ca518672852e71cfc3704b1cf727baab /readconf.c | |
parent | - (dtucker) [configure.ac] Have --without-toolchain-hardening not turn off (diff) | |
download | openssh-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.c | 4 |
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> |