aboutsummaryrefslogtreecommitdiff
Dfu-programmer cannot cannot find libusb. This patch fixes that.

diff --git a/src/dfu-device.h b/src/dfu-device.h
index bbdfa99..31af0e8 100644
--- a/src/dfu-device.h
+++ b/src/dfu-device.h
@@ -6,7 +6,7 @@
 #endif
 #include <stdint.h>
 #ifdef HAVE_LIBUSB_1_0
-#include <libusb.h>
+#include <libusb-1.0/libusb.h>
 #else
 #include <usb.h>
 #endif

diff --git a/src/main.c b/src/main.c
index ef2aa16..dcc3636 100644
--- a/src/main.c
+++ b/src/main.c
@@ -24,7 +24,7 @@
 #include <stdio.h>
 #include <string.h>
 #ifdef HAVE_LIBUSB_1_0
-#include <libusb.h>
+#include <libusb-1.0/libusb.h>
 #else
 #include <usb.h>
 #endif

diff --git a/src/dfu.c b/src/dfu.c
index 7dbcc57..952e896 100644
--- a/src/dfu.c
+++ b/src/dfu.c
@@ -27,7 +27,7 @@
 #include <stdlib.h>
 #include <stddef.h>
 #ifdef HAVE_LIBUSB_1_0
-#include <libusb.h>
+#include <libusb-1.0/libusb.h>
 #else
 #include <usb.h>
 #endif

diff --git a/src/dfu.h b/src/dfu.h
index 2a159e8..63510f2 100644
--- a/src/dfu.h
+++ b/src/dfu.h
@@ -25,7 +25,7 @@
 # include <config.h>
 #endif
 #ifdef HAVE_LIBUSB_1_0
-#include <libusb.h>
+#include <libusb-1.0/libusb.h>
 #else
 #include <usb.h>
 #endif
mmit/gnu/packages/mp3.scm?id=998100e6e8be64d4cc14e6509f744d3f5c37cf27'>gnu: eyed3: Update home page....Alex Vong 2018-08-15gnu: eyeD3: Update to 0.8.7....Leo Famulari 2018-04-21Merge branch 'master' into core-updatesMark H Weaver 2018-04-18gnu: mpg123: Update to 1.25.10....Leo Famulari 2018-04-10Merge branch 'master' into core-updatesMark H Weaver 2018-04-09gnu: chromaprint: Fix typo....Leo Famulari 2018-04-09gnu: eyeD3: Update to 0.8.5....Leo Famulari 2018-04-04gnu: chromaprint: Build 'fpcalc'....Pierre Neidhardt 2018-03-16gnu: All snippets report errors using exceptions, else return #t....Mark H Weaver 2018-02-19gnu: chromaprint: Update to 1.4.3....Tobias Geerinckx-Rice 2018-01-16gnu: mpg123: Use HTTPS for home page....Tobias Geerinckx-Rice 2018-01-16gnu: mpg123: Update to 1.25.8....Tobias Geerinckx-Rice 2018-01-08gnu: lame: Remove obsolete workaround....Marius Bakke 2017-11-21gnu: taglib: Update to 1.11.1 and fix home page....Pierre Langlois 2017-11-09gnu: chromaprint: Update to 1.4.2....Leo Famulari 2017-10-22gnu: lame: Update to 3.100....Marius Bakke 2017-10-11gnu: mpg123: Update to 1.25.7....Leo Famulari 2017-09-24gnu: Fix syntax errors introduced by dc1d3cdef70f0e3c047c229c2a0e56....Marius Bakke 2017-09-20gnu: Use 'modify-phases' syntax....Kei Kebreau 2017-09-11gnu: mpg123: Update to 1.25.6 [fixes CVE-2017-12797]....Leo Famulari 2017-08-23gnu: id3lib: Remove bundled zlib....Thomas Danckaert