summaryrefslogtreecommitdiff
path: root/tests/modules
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2016-01-23 21:22:45 +0000
committerchristos <christos@NetBSD.org>2016-01-23 21:22:45 +0000
commit7afa4ebf64c95aed7178c23d5ed031d2fc4f9d31 (patch)
treef7a177683a0a36076ac77b1d35c1b37b0e54733d /tests/modules
parentbaeb969ec790a8830b5a877680ea3c7575a4f7dc (diff)
Define _KERNTYPES for things that need it.
Diffstat (limited to 'tests/modules')
-rw-r--r--tests/modules/Makefile3
-rw-r--r--tests/modules/Makefile.inc1
2 files changed, 3 insertions, 1 deletions
diff --git a/tests/modules/Makefile b/tests/modules/Makefile
index 66f2b0cee3c..eb0c413eff0 100644
--- a/tests/modules/Makefile
+++ b/tests/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/tests/modules/Makefile.inc b/tests/modules/Makefile.inc
index 01b5f23410c..f4c93f54796 100644
--- a/tests/modules/Makefile.inc
+++ b/tests/modules/Makefile.inc
@@ -1 +1,2 @@
.include "../Makefile.inc"
+CPPFLAGS+= -D_KERNTYPES