Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/pic fix compile error about missing evcnt defin...



details:   https://anonhg.NetBSD.org/src/rev/7db5fe68af7c
branches:  trunk
changeset: 758776:7db5fe68af7c
user:      bsh <bsh%NetBSD.org@localhost>
date:      Mon Nov 15 09:25:58 2010 +0000

description:
fix compile error about missing evcnt definition.
picvar.h is now included very early because of uebayashi's change to sys/param.h.

diffstat:

 sys/arch/arm/pic/picvar.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r b83374383422 -r 7db5fe68af7c sys/arch/arm/pic/picvar.h
--- a/sys/arch/arm/pic/picvar.h Mon Nov 15 08:56:30 2010 +0000
+++ b/sys/arch/arm/pic/picvar.h Mon Nov 15 09:25:58 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: picvar.h,v 1.4 2008/12/30 05:43:14 matt Exp $  */
+/*     $NetBSD: picvar.h,v 1.5 2010/11/15 09:25:58 bsh Exp $   */
 /*-
  * Copyright (c) 2008 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -57,6 +57,8 @@
 
 #ifdef _INTR_PRIVATE
 
+#include <sys/evcnt.h>
+
 #ifndef PIC_MAXPICS
 #define PIC_MAXPICS    32
 #endif



Home | Main Index | Thread Index | Old Index