From a5126a967f2db5a17f2668702a5fc8ac5726466a Mon Sep 17 00:00:00 2001 From: imp Date: Mon, 11 Mar 2002 16:38:53 +0000 Subject: [PATCH] On FreeBSD make usb_proc_t the same as d_thred_t always. --- sys/dev/usb/ufm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/usb/ufm.c b/sys/dev/usb/ufm.c index b16c56f255a2..403ee052af62 100644 --- a/sys/dev/usb/ufm.c +++ b/sys/dev/usb/ufm.c @@ -72,8 +72,8 @@ int ufmdebug = 100; #define DPRINTFN(n,x) #endif -#if defined(__FreeBSD__) && __FreeBSD_version >= 500023 -typedef struct thread usb_proc_t; +#ifdef __FreeBSD_version +typedef d_thread_t usb_proc_t; #else typedef struct proc usb_proc_t; #endif