aboutsummaryrefslogtreecommitdiff
path: root/sys/boot/usb
diff options
context:
space:
mode:
authorHans Petter Selasky <hselasky@FreeBSD.org>2014-06-06 19:02:45 +0000
committerHans Petter Selasky <hselasky@FreeBSD.org>2014-06-06 19:02:45 +0000
commitc440229d62e2dd2d5c730d7e29983246c0ab9d33 (patch)
tree841123b3cef558ff1ed2a7fb75d642ec716f26fc /sys/boot/usb
parentb6829dc82a2b4766b45ce9819501606a7c7965e1 (diff)
Notes
Diffstat (limited to 'sys/boot/usb')
-rw-r--r--sys/boot/usb/bsd_kernel.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/boot/usb/bsd_kernel.h b/sys/boot/usb/bsd_kernel.h
index fe1eb67879d2a..975211e95b9c7 100644
--- a/sys/boot/usb/bsd_kernel.h
+++ b/sys/boot/usb/bsd_kernel.h
@@ -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