aboutsummaryrefslogtreecommitdiffstats
path: root/smtpd/report_smtp.c
diff options
context:
space:
mode:
Diffstat (limited to 'smtpd/report_smtp.c')
-rw-r--r--smtpd/report_smtp.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/smtpd/report_smtp.c b/smtpd/report_smtp.c
index a4268909..81e9584c 100644
--- a/smtpd/report_smtp.c
+++ b/smtpd/report_smtp.c
@@ -16,6 +16,8 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#include "includes.h"
+
#include <sys/types.h>
#include <sys/queue.h>
#include <sys/tree.h>
@@ -36,7 +38,11 @@
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
+#if defined(HAVE_VIS_H) && !defined(BROKEN_STRNVIS)
#include <vis.h>
+#else
+#include "bsd-vis.h"
+#endif
#include "smtpd.h"
#include "log.h"