fix build, when LIBUSB1 not present

This commit is contained in:
Peter Hatina 2013-11-25 19:43:16 +01:00
parent 59208ce6c6
commit 12f8f22454
1 changed files with 2 additions and 1 deletions

View File

@ -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>
}