aboutsummaryrefslogtreecommitdiff
path: root/upgrade/dfu.c
diff options
context:
space:
mode:
authorGareth McMullin2013-08-19 12:26:05 +1200
committerGareth McMullin2013-08-19 12:26:05 +1200
commitfce43bcd98ee419720795f4c384f58e65896e0c8 (patch)
tree9e658330ace3b072f56b9377e6da4ca1b0af2680 /upgrade/dfu.c
parenta30ef31018c6e4ea4cba69755f2fcdd0dbc17baa (diff)
Fixed upgrade tool to build against current libusb-win32.
Diffstat (limited to 'upgrade/dfu.c')
-rw-r--r--upgrade/dfu.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/upgrade/dfu.c b/upgrade/dfu.c
index 2ab16ed..598780a 100644
--- a/upgrade/dfu.c
+++ b/upgrade/dfu.c
@@ -18,7 +18,11 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <usb.h>
+#ifdef WIN32
+# include <lusb0_usb.h>
+#else
+# include <usb.h>
+#endif
#include "dfu.h"