summaryrefslogtreecommitdiff
path: root/tests/include
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/include
parentbaeb969ec790a8830b5a877680ea3c7575a4f7dc (diff)
Define _KERNTYPES for things that need it.
Diffstat (limited to 'tests/include')
-rw-r--r--tests/include/sys/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/include/sys/Makefile b/tests/include/sys/Makefile
index 2f5e3da4833..e876005d21a 100644
--- a/tests/include/sys/Makefile
+++ b/tests/include/sys/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2015/06/22 00:05:23 matt Exp $
+# $NetBSD: Makefile,v 1.9 2016/01/23 21:22:48 christos Exp $
NOMAN= # defined
@@ -12,6 +12,7 @@ LDADD.t_bitops+= -lm
.if (${MKRUMP} != "no") && !defined(BSD_MK_COMPAT_FILE)
TESTS_C+= t_socket
+CPPFLAGS.t_socket.c+= -D_KERNTYPES
LDADD.t_socket+= -lrumpnet_local -lrumpnet_net -lrumpnet
LDADD.t_socket+= -lrumpvfs -lrump -lrumpuser -lpthread
.endif