diff --git a/app/src/main.c b/app/src/main.c index 968b1934..b4897456 100644 --- a/app/src/main.c +++ b/app/src/main.c @@ -11,7 +11,9 @@ #include "cli.h" #include "options.h" #include "scrcpy.h" -#include "usb/scrcpy_otg.h" +#ifdef HAVE_USB +# include "usb/scrcpy_otg.h" +#endif #include "util/log.h" #include "util/net.h" #include "util/thread.h"