diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | readconf.c | 4 |
2 files changed, 5 insertions, 1 deletions
@@ -41,6 +41,8 @@ | |||
41 | - (dtucker) [configure.ac] Also look in inttypes.h for uintXX_t types. | 41 | - (dtucker) [configure.ac] Also look in inttypes.h for uintXX_t types. |
42 | - (dtucker) [configure.ac] Have --without-hardening not turn off | 42 | - (dtucker) [configure.ac] Have --without-hardening not turn off |
43 | stack-protector since that has a separate flag that's been around a while. | 43 | stack-protector since that has a separate flag that's been around a while. |
44 | - (dtucker) [readconf.c] Wrap paths.h inside an ifdef. Allows building on | ||
45 | Solaris. | ||
44 | 46 | ||
45 | 20140118 | 47 | 20140118 |
46 | - (djm) OpenBSD CVS Sync | 48 | - (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 @@ | |||
27 | #include <errno.h> | 27 | #include <errno.h> |
28 | #include <fcntl.h> | 28 | #include <fcntl.h> |
29 | #include <netdb.h> | 29 | #include <netdb.h> |
30 | #include <paths.h> | 30 | #ifdef HAVE_PATHS_H |
31 | # include <paths.h> | ||
32 | #endif | ||
31 | #include <pwd.h> | 33 | #include <pwd.h> |
32 | #include <signal.h> | 34 | #include <signal.h> |
33 | #include <stdarg.h> | 35 | #include <stdarg.h> |