summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorgshapiro <gshapiro@FreeBSD.org>2010-03-07 02:02:07 +0000
committergshapiro <gshapiro@FreeBSD.org>2010-03-07 02:02:07 +0000
commitdc61101b9e948e19b6506d55ef3c0f7eaa40a0be (patch)
tree1bdb2fbefe6fe1d3b021410927b0e5b4b08367f7 /lib
parente8bb8a0692a40f30fbf7cca11e49f09130b585c5 (diff)
downloadFreeBSD-src-dc61101b9e948e19b6506d55ef3c0f7eaa40a0be.zip
FreeBSD-src-dc61101b9e948e19b6506d55ef3c0f7eaa40a0be.tar.gz
MFC: Enable the use of nanosleep() instead of using pause() and signals.
This Makefile change can be removed when the next version of sendmail is imported as it will have this built in to the FreeBSD conf.h section.
Diffstat (limited to 'lib')
-rw-r--r--lib/libsm/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libsm/Makefile b/lib/libsm/Makefile
index 38c7806..0fdcaa1 100644
--- a/lib/libsm/Makefile
+++ b/lib/libsm/Makefile
@@ -7,6 +7,7 @@ SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail
CFLAGS+=-I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include -I.
CFLAGS+=-DNEWDB -DNIS -DMAP_REGEX -DNOT_SENDMAIL
+CFLAGS+=-DHAVE_NANOSLEEP
.if ${MK_INET6_SUPPORT} != "no"
CFLAGS+=-DNETINET6
OpenPOWER on IntegriCloud