vhci: Added a patch
authorMichel Pollet <buserror@gmail.com>
Fri, 18 May 2012 11:45:52 +0000 (12:45 +0100)
committerMichel Pollet <buserror@gmail.com>
Fri, 18 May 2012 11:45:52 +0000 (12:45 +0100)
Somehow now also need an extra include...

Signed-off-by: Michel Pollet <buserror@gmail.com>
examples/vhci/patches/vhci-0002-need-unistd-for-usleep.patch [new file with mode: 0644]

diff --git a/examples/vhci/patches/vhci-0002-need-unistd-for-usleep.patch b/examples/vhci/patches/vhci-0002-need-unistd-for-usleep.patch
new file mode 100644 (file)
index 0000000..a33471b
--- /dev/null
@@ -0,0 +1,11 @@
+diff -uwr libusb_vhci-0.6.orig/src/local_hcd.cpp libusb_vhci-0.6/src/local_hcd.cpp
+--- libusb_vhci-0.6.orig/src/local_hcd.cpp     2012-05-18 11:52:17.097659487 +0100
++++ libusb_vhci-0.6/src/local_hcd.cpp  2012-05-18 11:52:45.161659975 +0100
+@@ -21,6 +21,7 @@
+ #endif
+ #include <stdlib.h>
++#include <unistd.h>
+ #include <new>
+ #include "libusb_vhci.h"