Skip to content

Commit efd073e

Browse files
committed
windows: libusb-win32 renamed their header; change the include accordingly
In libusb-win32 1.2.5.0, the developers changed their header from usb.h to lusb0_usb.h to avoid a name conflict with the WDK usb.h header, which apparently causes issues with MinGW-w64. Signed-off-by: Drew Fisher <[email protected]>
1 parent ad42c6f commit efd073e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

platform/windows/libusb10emu/libusb-1.0/libusbemu_internal.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
#define LIBUSB_EMULATOR_INTERNAL_H
2929

3030
#include "libusbemu_threads.h"
31-
#include <usb.h>
31+
#include <lusb0_usb.h>
3232
#include <map>
3333
#include <cassert>
3434

0 commit comments

Comments
 (0)