aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2016-08-12 01:05:07 +0000
committerEnji Cooper <ngie@FreeBSD.org>2016-08-12 01:05:07 +0000
commit014db25b98371942a535a35783bbaf8b571a6bee (patch)
tree2a53a31277b7fd32b957a50009847705b13b68cf /modules
parent478290db20b28ab28ce7e08cf33f1b44d82e4cb3 (diff)
Notes
Diffstat (limited to 'modules')
-rw-r--r--modules/Makefile3
-rw-r--r--modules/Makefile.inc1
2 files changed, 3 insertions, 1 deletions
diff --git a/modules/Makefile b/modules/Makefile
index 66f2b0cee3c0..eb0c413eff03 100644
--- a/modules/Makefile
+++ b/modules/Makefile
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.11 2014/06/10 04:28:40 he Exp $
+# $NetBSD: Makefile,v 1.12 2016/01/23 21:22:49 christos Exp $
.include <bsd.own.mk>
TESTSDIR= ${TESTSBASE}/modules
+CPPFLAGS+= -D_KERNTYPES
# Ideally this test could be in the parent Makefile, which could not descend
# into this directory at all. Unfortunately, the etc/mtree/NetBSD.dist file
diff --git a/modules/Makefile.inc b/modules/Makefile.inc
index 01b5f23410c8..f4c93f54796c 100644
--- a/modules/Makefile.inc
+++ b/modules/Makefile.inc
@@ -1 +1,2 @@
.include "../Makefile.inc"
+CPPFLAGS+= -D_KERNTYPES