summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorhselasky <hselasky@FreeBSD.org>2013-03-13 12:23:14 +0000
committerhselasky <hselasky@FreeBSD.org>2013-03-13 12:23:14 +0000
commit0b8d7927213de8679fda3f58d460b754fe2f65f0 (patch)
tree4cb297d97b46e9075c87640bb84c7ec92616125a /usr.sbin
parent1e99f9b1455315f445d71a02aa21482c6507b87a (diff)
downloadFreeBSD-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 'usr.sbin')
-rw-r--r--usr.sbin/usbconfig/usbconfig.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/usbconfig/usbconfig.c b/usr.sbin/usbconfig/usbconfig.c
index a1fa694..c046003 100644
--- a/usr.sbin/usbconfig/usbconfig.c
+++ b/usr.sbin/usbconfig/usbconfig.c
@@ -33,6 +33,7 @@
#include <grp.h>
#include <errno.h>
#include <ctype.h>
+#include <sys/types.h>
#include <libusb20_desc.h>
#include <libusb20.h>
OpenPOWER on IntegriCloud