Include USB header only if HAVE_USB

This commit is contained in:
Romain Vimont
2025-12-30 14:36:39 +01:00
parent cda4387058
commit dba2a3778f

View File

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