From ba2647ff5b35a7e41f72beb3f3512d78136a14d2 Mon Sep 17 00:00:00 2001 From: christos Date: Sat, 23 Jan 2016 21:44:55 +0000 Subject: [PATCH] pmc_evid_, pmc_ctr_t etc are defined in but are not exposed anymore by default since they violate the userland namespace. Either we should create __pmc types, or a separate machine/pmc.h header. --- lib/libpmc/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/libpmc/Makefile b/lib/libpmc/Makefile index 4258cb18c8c8..a44aacecce97 100644 --- a/lib/libpmc/Makefile +++ b/lib/libpmc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2002/08/09 00:03:15 thorpej Exp $ +# $NetBSD: Makefile,v 1.2 2016/01/23 21:44:55 christos Exp $ .include @@ -8,6 +8,7 @@ MAN= pmc.3 LIB= pmc SRCS= pmc.c SRCS+= pmc_${MACHINE_CPU}.c +CPPFLAGS+= -D_KERNTYPES INCS= pmc.h INCSDIR=/usr/include