diff options
author | Darren Tucker <dtucker@zip.com.au> | 2014-01-18 00:03:57 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2014-01-18 00:03:57 +1100 |
commit | a3357661ee1d5d553294f36e4940e8285c7f1332 (patch) | |
tree | cf153bf8ca518672852e71cfc3704b1cf727baab | |
parent | 9edcbff46ff01c8d5dee9c1aa843f09e9ad8a80e (diff) |
- (dtucker) [readconf.c] Wrap paths.h inside an ifdef. Allows building on
Solaris.
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | readconf.c | 4 |
2 files changed, 5 insertions, 1 deletions
@@ -41,6 +41,8 @@ - (dtucker) [configure.ac] Also look in inttypes.h for uintXX_t types. - (dtucker) [configure.ac] Have --without-hardening not turn off stack-protector since that has a separate flag that's been around a while. + - (dtucker) [readconf.c] Wrap paths.h inside an ifdef. Allows building on + Solaris. 20140118 - (djm) OpenBSD CVS Sync @@ -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> |