From 3f2fce6acc1b5eabbc2e6dcb87be3fcc36dff851 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Fri, 20 Jan 2006 18:14:18 +0000 Subject: Include sys/stdint.h instead of defining uintptr_t ourselves. OK mickey@ --- sys/dev/pci/bktr/bktr_core.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'sys') 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 #include #include +#include /* uintptr_t */ #ifdef __NetBSD__ #include @@ -200,14 +201,9 @@ typedef unsigned int uintptr_t; #ifdef __OpenBSD__ #include -#endif - -#ifdef __OpenBSD__ -typedef unsigned long uintptr_t; typedef int intrmask_t; -#else -#include /* uintptr_t */ #endif + #include #include #include -- cgit v1.2.3