commit | a3357661ee1d5d553294f36e4940e8285c7f1332 | [log] [tgz] |
---|---|---|
author | Darren Tucker <dtucker@zip.com.au> | Sat Jan 18 00:03:57 2014 +1100 |
committer | Darren Tucker <dtucker@zip.com.au> | Sat Jan 18 00:03:57 2014 +1100 |
tree | cf153bf8ca518672852e71cfc3704b1cf727baab | |
parent | 9edcbff46ff01c8d5dee9c1aa843f09e9ad8a80e [diff] [blame] |
- (dtucker) [readconf.c] Wrap paths.h inside an ifdef. Allows building on Solaris.
diff --git a/readconf.c b/readconf.c index 08e1685..9c7e73d 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>