summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2016-01-24 16:01:56 +0000
committerchristos <christos@NetBSD.org>2016-01-24 16:01:56 +0000
commit57d26c729c5bfb463d2b0ebcb7a9cef2e38dde8a (patch)
tree9457d5542153e8ee583bdf45fea8adfa53327614
parent91737d688716c3148dfcf064afef7dfc37a3d48b (diff)
cache stuff needs _KERNTYPES
-rw-r--r--lib/libc/arch/mips/gen/Makefile.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/arch/mips/gen/Makefile.inc b/lib/libc/arch/mips/gen/Makefile.inc
index acaccca82e8..3ff60af9732 100644
--- a/lib/libc/arch/mips/gen/Makefile.inc
+++ b/lib/libc/arch/mips/gen/Makefile.inc
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.33 2011/03/15 07:40:18 matt Exp $
+# $NetBSD: Makefile.inc,v 1.34 2016/01/24 16:01:56 christos Exp $
.if ${MKSOFTFLOAT} == "no"
SRCS+= fabs.S ldexp.S modf.S
@@ -33,6 +33,7 @@ SRCS+= makecontext.c resumecontext.c _resumecontext.S swapcontext.S _lwp.c
SRCS+= cacheflush.c
CPPFLAGS._lwp.c += -D_LIBC_SOURCE
+CPPFLAGS.cacheflush.c += -D_KERNTYPES
LSRCS.mips.gen= Lint__setjmp.c Lint_bswap16.c Lint_bswap32.c Lint_swapcontext.c
LSRCS+= ${LSRCS.mips.gen}