From owner-freebsd-bugs@FreeBSD.ORG Wed Aug 13 02:50:20 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BCF6137B401 for ; Wed, 13 Aug 2003 02:50:20 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id AEBA943FA3 for ; Wed, 13 Aug 2003 02:50:19 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h7D9oJUp055396 for ; Wed, 13 Aug 2003 02:50:19 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h7D9oJPV055394; Wed, 13 Aug 2003 02:50:19 -0700 (PDT) Resent-Date: Wed, 13 Aug 2003 02:50:19 -0700 (PDT) Resent-Message-Id: <200308130950.h7D9oJPV055394@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Tobias Roth Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0BBCD37B401 for ; Wed, 13 Aug 2003 02:43:00 -0700 (PDT) Received: from secure.socket.ch (secure.socket.ch [212.254.206.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id B65DC43FD7 for ; Wed, 13 Aug 2003 02:42:58 -0700 (PDT) (envelope-from roth@secure.socket.ch) Received: from secure.socket.ch (localhost [127.0.0.1]) by secure.socket.ch (8.12.9/8.12.5) with ESMTP id h7D9dVa2028012 for ; Wed, 13 Aug 2003 11:39:31 +0200 (CEST) (envelope-from roth@secure.socket.ch) Received: (from roth@localhost) by secure.socket.ch (8.12.9/8.12.5/Submit) id h7D9dPsu028011; Wed, 13 Aug 2003 11:39:25 +0200 (CEST) Message-Id: <200308130939.h7D9dPsu028011@secure.socket.ch> Date: Wed, 13 Aug 2003 11:39:25 +0200 (CEST) From: Tobias Roth To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/55535: [patch] include missing in dev/usb/usbdivar.h (current) X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Tobias Roth List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Aug 2003 09:50:21 -0000 >Number: 55535 >Category: kern >Synopsis: [patch] include missing in dev/usb/usbdivar.h (current) >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Aug 13 02:50:18 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Tobias Roth >Release: FreeBSD 5.1-CURRENT i386 >Organization: >Environment: System: FreeBSD angel-one.fsck.ch 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Tue Aug 12 15:02:35 CEST 2003 roth@angel-one.fsck.ch:/usr/obj/usr/src/sys/ANGEL-ONE i386 >Description: With the last cvs commit of usbdivar.h (1.39 to 1.40), bus_dma awareness was added. But an #include seems to have been forgotten, resulting in a syntax error when including usbdivar.h. >How-To-Repeat: Compile anything that includes dev/usb/usbdivar.h, for example Maksim Evmenkins Bluetooth stack. >Fix: The patch below fixes things for me, however I have no idea if this is the correct way to fix thing or if it breaks something else. Someone with more insight please review it and take appropriate measures. --- /usr/src/sys/dev/usb/usbdivar.h Wed Aug 13 11:25:50 2003 +++ sys/dev/usb/usbdivar.h Wed Aug 13 11:07:38 2003 @@ -42,6 +42,8 @@ #include #endif +#include + /* From usb_mem.h */ DECLARE_USB_DMA_T; >Release-Note: >Audit-Trail: >Unformatted: