Module Name:    src
Committed By:   christos
Date:           Sat Jan 23 21:44:55 UTC 2016

Modified Files:
        src/lib/libpmc: Makefile

Log Message:
pmc_evid_, pmc_ctr_t etc are defined in <machine/types.h> 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.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/lib/libpmc/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libpmc/Makefile
diff -u src/lib/libpmc/Makefile:1.1 src/lib/libpmc/Makefile:1.2
--- src/lib/libpmc/Makefile:1.1	Thu Aug  8 20:03:15 2002
+++ src/lib/libpmc/Makefile	Sat Jan 23 16:44:55 2016
@@ -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 <bsd.own.mk>
 
@@ -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

Reply via email to