diff --git a/cpp/examples/screenshot.cpp b/cpp/examples/screenshot.cpp index 8c76abc..05334e9 100644 --- a/cpp/examples/screenshot.cpp +++ b/cpp/examples/screenshot.cpp @@ -5,6 +5,7 @@ #include #include +#include #include #include #include @@ -23,6 +24,7 @@ static void die(const char* msg, const FfiError& e) { } int main(int argc, char** argv) { + idevice_init_logger(Debug, Disabled, NULL); // Usage: // take_screenshot if (argc != 2) {