aboutsummaryrefslogtreecommitdiffstats
path: root/mk/smtpctl
diff options
context:
space:
mode:
Diffstat (limited to 'mk/smtpctl')
-rw-r--r--mk/smtpctl/Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/mk/smtpctl/Makefile.am b/mk/smtpctl/Makefile.am
index d1c13304..cdd2ff33 100644
--- a/mk/smtpctl/Makefile.am
+++ b/mk/smtpctl/Makefile.am
@@ -41,6 +41,9 @@ smtpctl_CFLAGS+= -DPATH_GZCAT=\"$(ZCAT)\" \
AM_CPPFLAGS= -I$(top_srcdir)/smtpd \
-I$(top_srcdir)/openbsd-compat
+if !SUPPORT_ERR_H
+AM_CPPFLAGS += -I$(top_srcdir)/openbsd-compat/err_h
+endif
LIBCOMPAT= $(top_builddir)/openbsd-compat/libopenbsd-compat.a