aboutsummaryrefslogtreecommitdiff
path: root/upgrade/stm32mem.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/stm32mem.c
parenta30ef31018c6e4ea4cba69755f2fcdd0dbc17baa (diff)
Fixed upgrade tool to build against current libusb-win32.
Diffstat (limited to 'upgrade/stm32mem.c')
-rw-r--r--upgrade/stm32mem.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/upgrade/stm32mem.c b/upgrade/stm32mem.c
index 4731edc..53bbb5b 100644
--- a/upgrade/stm32mem.c
+++ b/upgrade/stm32mem.c
@@ -17,13 +17,14 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <usb.h>
#include <string.h>
#ifdef WIN32
# include <windows.h>
+# include <lusb0_usb.h>
#else
# include <unistd.h>
+# include <usb.h>
#endif
#include "dfu.h"