From ad215f66742e19bfaf3f681cd93c1d8a17f3f916 Mon Sep 17 00:00:00 2001 From: stefanct Date: Mon, 26 Jan 2015 22:06:04 +0000 Subject: Properly include current libusb-win32 header. libusb-win32 is using a different header file name (lusb0_usb.h) for a while. Use that on Windows builds to make clear that this is currently the correct header to include. Hopefully this will change soonish by migrating away from libusb-0. Signed-off-by: Stefan Tauner Acked-by: Stefan Tauner Acked-by: Carl-Daniel Hailfinger git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@1877 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 67b3ef3..9eaf8d3 100644 --- a/Makefile +++ b/Makefile @@ -843,7 +843,12 @@ endef export LIBPCI_TEST define LIBUSB0_TEST +#include "platform.h" +#if IS_WINDOWS +#include +#else #include +#endif int main(int argc, char **argv) { (void) argc; -- cgit v1.2.1