fix build, when LIBUSB1 not present
This commit is contained in:
parent
59208ce6c6
commit
12f8f22454
|
@ -24,12 +24,13 @@
|
|||
#endif // HAVE_LIBUSB1
|
||||
extern "C" {
|
||||
# include <libgen.h>
|
||||
# include <limits.h>
|
||||
# include <sys/stat.h>
|
||||
# include <unistd.h>
|
||||
}
|
||||
#ifdef HAVE_LIBUSB1
|
||||
# include <climits>
|
||||
extern "C" {
|
||||
# include <unistd.h>
|
||||
# include <libmtp.h>
|
||||
# include <libusb.h>
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue