summaryrefslogtreecommitdiffstats
path: root/sbin/rtsol
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2015-09-10 06:40:28 +0000
committerhrs <hrs@FreeBSD.org>2015-09-10 06:40:28 +0000
commitf39d1c8c533fb4dabb8124a02bca16f62df9bdd2 (patch)
tree32ea21e1e6acec85604bf8b22a55db44c944d01a /sbin/rtsol
parente16dfdb9eff2cdcad4447658b212385fd9a73db3 (diff)
downloadFreeBSD-src-f39d1c8c533fb4dabb8124a02bca16f62df9bdd2.zip
FreeBSD-src-f39d1c8c533fb4dabb8124a02bca16f62df9bdd2.tar.gz
- Remove #ifdef HAVE_POLL_H.
- Use nitems(). MFC after: 3 days
Diffstat (limited to 'sbin/rtsol')
-rw-r--r--sbin/rtsol/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/sbin/rtsol/Makefile b/sbin/rtsol/Makefile
index d738008..a2bd040 100644
--- a/sbin/rtsol/Makefile
+++ b/sbin/rtsol/Makefile
@@ -14,15 +14,13 @@
#
# $FreeBSD$
-SRCDIR= ${.CURDIR}/../../usr.sbin/rtsold
-
-.PATH: ${SRCDIR}
+.PATH: ${.CURDIR}/../../usr.sbin/rtsold
PROG= rtsol
SRCS= rtsold.c rtsol.c if.c probe.c dump.c rtsock.c
MAN=
WARNS?= 3
-CFLAGS+= -DHAVE_ARC4RANDOM -DHAVE_POLL_H -DSMALL
+CFLAGS+= -DHAVE_ARC4RANDOM -DSMALL
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud