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 @@ | |||
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> |