diff options
author | Andrew Thompson <thompsa@FreeBSD.org> | 2009-05-30 00:22:57 +0000 |
---|---|---|
committer | Andrew Thompson <thompsa@FreeBSD.org> | 2009-05-30 00:22:57 +0000 |
commit | f9cb546c233aa780517ea85bec2cc8630097535a (patch) | |
tree | 850ed632800ebd9b53080b0dbbbb6afda22bcd1c /sys/dev/usb/usb_core.h | |
parent | 515db61d2bdfc2bfda5ed86cb0675287a5bbbe79 (diff) | |
download | src-f9cb546c233aa780517ea85bec2cc8630097535a.tar.gz src-f9cb546c233aa780517ea85bec2cc8630097535a.zip |
Revert the size_t part of the last commit for the moment, this blows up the
USB_ADD_BYTES macro.
Notes
Notes:
svn path=/head/; revision=193074
Diffstat (limited to 'sys/dev/usb/usb_core.h')
-rw-r--r-- | sys/dev/usb/usb_core.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/usb/usb_core.h b/sys/dev/usb/usb_core.h index c924ccc1c6d2..235caba7c79d 100644 --- a/sys/dev/usb/usb_core.h +++ b/sys/dev/usb/usb_core.h @@ -284,6 +284,10 @@ typedef uint32_t usb_frlength_t; /* bytes */ typedef uint32_t usb_frcount_t; /* units */ #endif +#ifndef USB_HAVE_SIZE_T +typedef uint32_t usb_size_t; /* bytes */ +#endif + #ifndef USB_HAVE_TICKS_T typedef uint32_t usb_ticks_t; /* system defined */ #endif |