Skip to content

Commit

Permalink
vhci: Added a patch
Browse files Browse the repository at this point in the history
Somehow now also need an extra include...

Signed-off-by: Michel Pollet <[email protected]>
  • Loading branch information
buserror committed May 18, 2012
1 parent 6e6ed2b commit 2718e85
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions examples/vhci/patches/vhci-0002-need-unistd-for-usleep.patch
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit 2718e85

Please sign in to comment.