summaryrefslogtreecommitdiff
path: root/sys/dev/sun
diff options
context:
space:
mode:
authorbjh21 <bjh21@NetBSD.org>2002-04-24 15:29:45 +0000
committerbjh21 <bjh21@NetBSD.org>2002-04-24 15:29:45 +0000
commitb53b7e5cd577d7fec43b67d31e27c85273a159e0 (patch)
treeda48cc7dd2e28cde160f7ff98eae3762db70ed97 /sys/dev/sun
parentb9e7e28ff4e64fcd2ed6dc63ee286620d566f9fb (diff)
Include <stdint.h> or <sys/stdint.h> to get the C99 fixed-width types, since
<sys/types.h> doesn't necessarily provide them.
Diffstat (limited to 'sys/dev/sun')
-rw-r--r--sys/dev/sun/sun_boot.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/dev/sun/sun_boot.h b/sys/dev/sun/sun_boot.h
index 245790789d4..6921fea1ebb 100644
--- a/sys/dev/sun/sun_boot.h
+++ b/sys/dev/sun/sun_boot.h
@@ -1,4 +1,4 @@
-/* $NetBSD: sun_boot.h,v 1.1 2002/04/24 01:33:55 lukem Exp $ */
+/* $NetBSD: sun_boot.h,v 1.2 2002/04/24 15:29:45 bjh21 Exp $ */
/*-
* Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -33,6 +33,11 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
+#ifdef _KERNEL
+#include <sys/stdint.h>
+#else
+#include <stdint.h>
+#endif
/*
* sparc