freebsd-ports/net/usbredir/files/patch-usbredirtestclient-usbredirtestclient.c
Juergen Lock 64ee951c0b usbredir is a protocol for redirection USB traffic from a single USB device,
to a different (virtual) machine then the one to which the USB device is
attached. See usb-redirection-protocol.txt for the description / definition
of this protocol.

With the official 0.3 release the protocol is now frozen (only extensions
advertised through capabilities can be added from now on).

WWW: http://cgit.freedesktop.org/~jwrdegoede/usbredir/
2011-08-21 15:43:02 +00:00

12 lines
335 B
C

--- a/usbredirtestclient/usbredirtestclient.c
+++ b/usbredirtestclient/usbredirtestclient.c
@@ -33,6 +33,9 @@
#include <sys/types.h>
#include <sys/time.h>
#include <netdb.h>
+#ifdef __FreeBSD__
+#include <netinet/in.h>
+#endif
#include "usbredirparser.h"
/* Macros to go from an endpoint address to an index for our ep array */