diff options
| author | christos <christos@NetBSD.org> | 2016-01-23 21:22:45 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2016-01-23 21:22:45 +0000 |
| commit | 7afa4ebf64c95aed7178c23d5ed031d2fc4f9d31 (patch) | |
| tree | f7a177683a0a36076ac77b1d35c1b37b0e54733d /libexec | |
| parent | baeb969ec790a8830b5a877680ea3c7575a4f7dc (diff) | |
Define _KERNTYPES for things that need it.
Diffstat (limited to 'libexec')
| -rw-r--r-- | libexec/ld.elf_so/Makefile | 4 | ||||
| -rw-r--r-- | libexec/rpc.rstatd/Makefile | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/libexec/ld.elf_so/Makefile b/libexec/ld.elf_so/Makefile index b906c4bb750..756a9fd740e 100644 --- a/libexec/ld.elf_so/Makefile +++ b/libexec/ld.elf_so/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.129 2014/09/19 17:43:33 matt Exp $ +# $NetBSD: Makefile,v 1.130 2016/01/23 21:22:47 christos Exp $ # # NOTE: when changing ld.so, ensure that ldd still compiles. # @@ -91,7 +91,7 @@ CLEANFILES+= errlist_concat.h ${PROG}.map BINDIR= ${SHLINKINSTALLDIR} CPPFLAGS+= -DLIBDIR=\"${LIBDIR}\" -D_PATH_RTLD=\"${BINDIR}/${PROG}\" -CPPFLAGS+= -I${.CURDIR} -I. +CPPFLAGS+= -I${.CURDIR} -I. -D_KERNTYPES CPPFLAGS+= -DRTLD_LOADER CPPFLAGS+= -D_RTLD_SOURCE CPPFLAGS+= -DCOMBRELOC diff --git a/libexec/rpc.rstatd/Makefile b/libexec/rpc.rstatd/Makefile index 6acd847a2d6..fdfcaba5322 100644 --- a/libexec/rpc.rstatd/Makefile +++ b/libexec/rpc.rstatd/Makefile @@ -1,11 +1,11 @@ -# $NetBSD: Makefile,v 1.21 2014/06/02 19:29:58 joerg Exp $ +# $NetBSD: Makefile,v 1.22 2016/01/23 21:22:47 christos Exp $ .include <bsd.own.mk> PROG = rpc.rstatd .PATH: ${NETBSDSRCDIR}/usr.bin/vmstat -CPPFLAGS+=-I${NETBSDSRCDIR}/usr.bin/vmstat +CPPFLAGS+=-I${NETBSDSRCDIR}/usr.bin/vmstat -D_KERNTYPES SRCS = drvstats.c rstatd.c rstat_proc.c MAN = rpc.rstatd.8 MLINKS= rpc.rstatd.8 rstatd.8 |
