diff options
author | Gilles Chehade <gilles@poolp.org> | 2016-04-20 08:37:08 +0200 |
---|---|---|
committer | Gilles Chehade <gilles@poolp.org> | 2016-04-20 08:37:08 +0200 |
commit | 4753a7f1f23c85a18602b3f3a8c1e31f27d9a940 (patch) | |
tree | 6fa252375cff1dc55e1335f8e411c5a02af429c9 | |
parent | Merge branch 'master' into portable (diff) | |
parent | include paths.h if exists (diff) | |
download | OpenSMTPD-4753a7f1f23c85a18602b3f3a8c1e31f27d9a940.tar.xz OpenSMTPD-4753a7f1f23c85a18602b3f3a8c1e31f27d9a940.zip |
Merge pull request #667 from bsdsx/solaris_paths_h
include paths.h if exists
-rw-r--r-- | smtpd/delivery_filename.c | 2 | ||||
-rw-r--r-- | smtpd/delivery_maildir.c | 2 | ||||
-rw-r--r-- | smtpd/table_proc.c | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/smtpd/delivery_filename.c b/smtpd/delivery_filename.c index 3da57112..d9f8a101 100644 --- a/smtpd/delivery_filename.c +++ b/smtpd/delivery_filename.c @@ -33,7 +33,9 @@ #include <event.h> #include <fcntl.h> #include <imsg.h> +#ifdef HAVE_PATHS_H #include <paths.h> +#endif #include <stdio.h> #include <stdlib.h> #include <string.h> diff --git a/smtpd/delivery_maildir.c b/smtpd/delivery_maildir.c index 8e475669..1b8d30c8 100644 --- a/smtpd/delivery_maildir.c +++ b/smtpd/delivery_maildir.c @@ -30,7 +30,9 @@ #include <event.h> #include <fcntl.h> #include <imsg.h> +#ifdef HAVE_PATHS_H #include <paths.h> +#endif #include <stdio.h> #include <stdlib.h> #include <string.h> diff --git a/smtpd/table_proc.c b/smtpd/table_proc.c index cf75412a..b3fd7f3b 100644 --- a/smtpd/table_proc.c +++ b/smtpd/table_proc.c @@ -28,7 +28,9 @@ #include <event.h> #include <fcntl.h> #include <imsg.h> +#ifdef HAVE_PATHS_H #include <paths.h> +#endif #include <stdio.h> #include <stdlib.h> #include <string.h> |