summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--readconf.c4
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index fa793d78a..0af27d088 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 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>