aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFreddy DISSAUX <dsx@pouet.bsdsx.fr>2016-03-12 13:20:22 +0100
committerFreddy DISSAUX <dsx@pouet.bsdsx.fr>2016-03-12 13:20:22 +0100
commitbed0c0bb5c4d72f98e13e59d77ee2cb89f8b408c (patch)
treefca160c1a054ee60b8140cb5a5864bb366232784
parentMerge pull request #664 from bsdsx/solaris_have_ss_len (diff)
downloadOpenSMTPD-bed0c0bb5c4d72f98e13e59d77ee2cb89f8b408c.tar.xz
OpenSMTPD-bed0c0bb5c4d72f98e13e59d77ee2cb89f8b408c.zip
include paths.h if exists
-rw-r--r--smtpd/delivery_filename.c2
-rw-r--r--smtpd/delivery_maildir.c2
-rw-r--r--smtpd/table_proc.c2
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>