diff options
author | hselasky <hselasky@FreeBSD.org> | 2013-03-13 12:23:14 +0000 |
---|---|---|
committer | hselasky <hselasky@FreeBSD.org> | 2013-03-13 12:23:14 +0000 |
commit | 0b8d7927213de8679fda3f58d460b754fe2f65f0 (patch) | |
tree | 4cb297d97b46e9075c87640bb84c7ec92616125a /lib/libusb/libusb10.h | |
parent | 1e99f9b1455315f445d71a02aa21482c6507b87a (diff) | |
download | FreeBSD-src-0b8d7927213de8679fda3f58d460b754fe2f65f0.zip FreeBSD-src-0b8d7927213de8679fda3f58d460b754fe2f65f0.tar.gz |
- Make the FreeBSD's USB library compile under Linux.
- Fix a compile warning where the return value of a call
to a write() function was ignored.
- Remove redundant include files from userland USB header files.
- Add some now needed include files to various C-files.
Diffstat (limited to 'lib/libusb/libusb10.h')
-rw-r--r-- | lib/libusb/libusb10.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libusb/libusb10.h b/lib/libusb/libusb10.h index d2a2bd7..f1e5460 100644 --- a/lib/libusb/libusb10.h +++ b/lib/libusb/libusb10.h @@ -27,7 +27,9 @@ #ifndef __LIBUSB10_H__ #define __LIBUSB10_H__ +#ifndef LIBUSB_GLOBAL_INCLUDE_FILE #include <sys/queue.h> +#endif #define GET_CONTEXT(ctx) (((ctx) == NULL) ? usbi_default_context : (ctx)) #define UNEXPORTED __attribute__((__visibility__("hidden"))) |