summaryrefslogtreecommitdiffstats
path: root/src/devices.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices.c')
-rw-r--r--src/devices.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/devices.c b/src/devices.c
index 6bfe624..203c300 100644
--- a/src/devices.c
+++ b/src/devices.c
@@ -16,6 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#if HAVE_USB
#include "main.h"
#include <stdio.h>
#include <string.h>
@@ -116,3 +117,4 @@ int usb_device_found(struct usb_device_descriptor *udd, struct devices *it_devic
return 0;
}
+#endif