Source-Changes-HG archive

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

[src/trunk]: src/sys/sys Include stdint(3) for user space. Fixes PR # 39744.



details:   https://anonhg.NetBSD.org/src/rev/6c2ede800954
branches:  trunk
changeset: 763892:6c2ede800954
user:      jruoho <jruoho%NetBSD.org@localhost>
date:      Wed Apr 06 08:15:44 2011 +0000

description:
Include stdint(3) for user space. Fixes PR # 39744.

diffstat:

 sys/sys/power.h |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 99ce0b97b5b9 -r 6c2ede800954 sys/sys/power.h
--- a/sys/sys/power.h   Wed Apr 06 07:25:34 2011 +0000
+++ b/sys/sys/power.h   Wed Apr 06 08:15:44 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: power.h,v 1.15 2010/02/15 22:32:04 pgoyette Exp $      */
+/*     $NetBSD: power.h,v 1.16 2011/04/06 08:15:44 jruoho Exp $        */
 
 /*
  * Copyright (c) 2003 Wasabi Systems, Inc.
@@ -44,6 +44,10 @@
 
 #include <sys/ioccom.h>
 
+#ifndef _KERNEL
+#include <stdint.h>
+#endif
+
 /*
  * Power Switches:
  *



Home | Main Index | Thread Index | Old Index