From owner-svn-src-head@FreeBSD.ORG Fri Jun 6 19:02:46 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6D9B4D0A; Fri, 6 Jun 2014 19:02:46 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5A60D2389; Fri, 6 Jun 2014 19:02:46 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s56J2kfG093296; Fri, 6 Jun 2014 19:02:46 GMT (envelope-from hselasky@svn.freebsd.org) Received: (from hselasky@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s56J2kKF093295; Fri, 6 Jun 2014 19:02:46 GMT (envelope-from hselasky@svn.freebsd.org) Message-Id: <201406061902.s56J2kKF093295@svn.freebsd.org> From: Hans Petter Selasky Date: Fri, 6 Jun 2014 19:02:46 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r267183 - head/sys/boot/usb X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jun 2014 19:02:46 -0000 Author: hselasky Date: Fri Jun 6 19:02:45 2014 New Revision: 267183 URL: http://svnweb.freebsd.org/changeset/base/267183 Log: Compilation fixes. Modified: head/sys/boot/usb/bsd_kernel.h Modified: head/sys/boot/usb/bsd_kernel.h ============================================================================== --- head/sys/boot/usb/bsd_kernel.h Fri Jun 6 19:00:43 2014 (r267182) +++ head/sys/boot/usb/bsd_kernel.h Fri Jun 6 19:02:45 2014 (r267183) @@ -38,6 +38,7 @@ #define isalpha(x) (((x) >= 'a' && (x) <= 'z') || ((x) >= 'A' && (x) <= 'Z')) #define isdigit(x) ((x) >= '0' && (x) <= '9') #define panic(...) do { printf("USB PANIC: " __VA_ARGS__); while (1) ; } while (0) +#define rebooting 0 #define M_USB 0 #define M_USBDEV 0 #define USB_PROC_MAX 3 @@ -182,9 +183,10 @@ typedef uint16_t gid_t; typedef uint16_t mode_t; typedef uint8_t *caddr_t; -typedef unsigned long __uintptr_t; +#define _UINTPTR_T_DECLARED typedef unsigned long uintptr_t; +#define _SIZE_T_DECLARED typedef unsigned long size_t; typedef unsigned long u_long; #endif