Source-Changes-HG archive

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

[src/trunk]: src/sys/sys Uses uintptr_t and therefore needs stdint.h.



details:   https://anonhg.NetBSD.org/src/rev/d5cf046c2b9f
branches:  trunk
changeset: 771918:d5cf046c2b9f
user:      dholland <dholland%NetBSD.org@localhost>
date:      Thu Dec 08 22:27:36 2011 +0000

description:
Uses uintptr_t and therefore needs stdint.h.

diffstat:

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

diffs (19 lines):

diff -r 9a6198486855 -r d5cf046c2b9f sys/sys/sdt.h
--- a/sys/sys/sdt.h     Thu Dec 08 21:00:49 2011 +0000
+++ b/sys/sys/sdt.h     Thu Dec 08 22:27:36 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sdt.h,v 1.1 2010/03/01 21:10:13 darran Exp $   */
+/*     $NetBSD: sdt.h,v 1.2 2011/12/08 22:27:36 dholland Exp $ */
 
 /*-
  * Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -34,6 +34,9 @@
 #ifndef _SDT_H_
 #define _SDT_H_
 
+/* should be stdint.h, but this works transparently for both user and kernel */
+#include <sys/stdint.h>
+
 #if defined(_KERNEL_OPT)
 #include "opt_dtrace.h"
 #endif



Home | Main Index | Thread Index | Old Index