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