Date: Fri, 6 Jun 2014 19:02:46 +0000 (UTC) From: Hans Petter Selasky <hselasky@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r267183 - head/sys/boot/usb Message-ID: <201406061902.s56J2kKF093295@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406061902.s56J2kKF093295>