From a3357661ee1d5d553294f36e4940e8285c7f1332 Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Sat, 18 Jan 2014 00:03:57 +1100 Subject: - (dtucker) [readconf.c] Wrap paths.h inside an ifdef. Allows building on Solaris. --- ChangeLog | 2 ++ readconf.c | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index fa793d78..0af27d08 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 diff --git a/readconf.c b/readconf.c index 08e16852..9c7e73d7 100644 --- a/readconf.c +++ b/readconf.c @@ -27,7 +27,9 @@ #include #include #include -#include +#ifdef HAVE_PATHS_H +# include +#endif #include #include #include -- cgit v1.2.3