summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2006-01-20 18:14:18 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2006-01-20 18:14:18 +0000
commit3f2fce6acc1b5eabbc2e6dcb87be3fcc36dff851 (patch)
treead06dea992ba6846050137f6e39ad9327960ae38 /sys/dev/pci
parentab0e8c067856b77b276fb91e3ae36b179d64eca2 (diff)
Include sys/stdint.h instead of defining uintptr_t ourselves.
OK mickey@
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/bktr/bktr_core.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/sys/dev/pci/bktr/bktr_core.c b/sys/dev/pci/bktr/bktr_core.c
index 67ab7d0a00b..df3668a329e 100644
--- a/sys/dev/pci/bktr/bktr_core.c
+++ b/sys/dev/pci/bktr/bktr_core.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bktr_core.c,v 1.18 2005/11/15 14:33:29 robert Exp $ */
+/* $OpenBSD: bktr_core.c,v 1.19 2006/01/20 18:14:17 millert Exp $ */
/* $FreeBSD: src/sys/dev/bktr/bktr_core.c,v 1.114 2000/10/31 13:09:56 roger Exp $ */
/*
@@ -193,6 +193,7 @@ typedef unsigned int uintptr_t;
#include <sys/kernel.h>
#include <sys/signalvar.h>
#include <sys/vnode.h>
+#include <sys/stdint.h> /* uintptr_t */
#ifdef __NetBSD__
#include <uvm/uvm_extern.h>
@@ -200,14 +201,9 @@ typedef unsigned int uintptr_t;
#ifdef __OpenBSD__
#include <dev/rndvar.h>
-#endif
-
-#ifdef __OpenBSD__
-typedef unsigned long uintptr_t;
typedef int intrmask_t;
-#else
-#include <sys/inttypes.h> /* uintptr_t */
#endif
+
#include <dev/ic/bt8xx.h>
#include <dev/pci/bktr/bktr_reg.h>
#include <dev/pci/bktr/bktr_tuner.h>