aboutsummaryrefslogtreecommitdiffstats
path: root/openbsd-compat/Makefile.am
diff options
context:
space:
mode:
authorGilles Chehade <gilles@poolp.org>2019-11-10 19:55:21 +0100
committerGilles Chehade <gilles@poolp.org>2019-11-10 19:55:21 +0100
commit50dc0f6f2d7003ad4fabcff05b14917a30a5c0e5 (patch)
treeab72023926cd2e84aa3590539f197c9aeef023ec /openbsd-compat/Makefile.am
parenteven better when I save the file (diff)
downloadOpenSMTPD-50dc0f6f2d7003ad4fabcff05b14917a30a5c0e5.tar.xz
OpenSMTPD-50dc0f6f2d7003ad4fabcff05b14917a30a5c0e5.zip
conditionally build waitpid()
Diffstat (limited to 'openbsd-compat/Makefile.am')
-rw-r--r--openbsd-compat/Makefile.am5
1 files changed, 5 insertions, 0 deletions
diff --git a/openbsd-compat/Makefile.am b/openbsd-compat/Makefile.am
index 3bccf09c..1a0fe160 100644
--- a/openbsd-compat/Makefile.am
+++ b/openbsd-compat/Makefile.am
@@ -135,6 +135,11 @@ if NEED_STRNLEN
libopenbsd_compat_a_SOURCES += strnlen.c
endif
+if NEED_WAITPID
+libopenbsd_compat_a_SOURCES += waitpid.c
+endif
+
+
if !SUPPORT_ERR_H
libopenbsd_compat_a_SOURCES += bsd-err.c