From 0cbd8c2558209432a0f51522cd2adffc59785dd0 Mon Sep 17 00:00:00 2001 From: Stefan Tauner 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. Corresponding to flashrom svn r1877. Signed-off-by: Stefan Tauner Acked-by: Stefan Tauner Acked-by: Carl-Daniel Hailfinger --- dediprog.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'dediprog.c') diff --git a/dediprog.c b/dediprog.c index 71a9f8bd..42484991 100644 --- a/dediprog.c +++ b/dediprog.c @@ -17,11 +17,19 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "platform.h" + #include #include #include #include + +#if IS_WINDOWS +#include +#else #include +#endif + #include "flash.h" #include "chipdrivers.h" #include "programmer.h" -- cgit v1.2.3