summaryrefslogtreecommitdiffstats
path: root/src/main.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.h b/src/main.h
index 2fbd15a..72ad491 100644
--- a/src/main.h
+++ b/src/main.h
@@ -25,6 +25,8 @@ void eprintf(const char *format, ...);
#ifndef PATH_MAX
#define PATH_MAX 4096
#endif
+
+#if HAVE_USB
#include <usb.h>
extern struct usb_device *device;
@@ -34,6 +36,8 @@ void list_valid_devices();
int usb_device_found(struct usb_device_descriptor *udd, struct devices *it_device);
int console(const char *device);
int connect_via_usb();
+#endif
+
int console_prompt();
//