aboutsummaryrefslogtreecommitdiff
path: root/upgrade/dfu.c
diff options
context:
space:
mode:
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"