Include cstring for Linux cpp build

This commit is contained in:
Jackson Coxson
2025-08-21 09:02:26 -06:00
parent 2a37865340
commit 7fdaac9327
2 changed files with 3 additions and 0 deletions

View File

@@ -50,6 +50,8 @@ set_target_properties(idevice_ffi PROPERTIES
IMPORTED_LOCATION "${IDEVICE_FFI_PATH}" IMPORTED_LOCATION "${IDEVICE_FFI_PATH}"
) )
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/../ffi/idevice.h" "${CMAKE_CURRENT_SOURCE_DIR}/include" COPYONLY)
# ---- Our C++ library ------------------------------------------------------- # ---- Our C++ library -------------------------------------------------------
# Collect sources (convenience: tracks new files when you re-run CMake) # Collect sources (convenience: tracks new files when you re-run CMake)

View File

@@ -1,6 +1,7 @@
// Jackson Coxson // Jackson Coxson
#include <idevice++/diagnosticsservice.hpp> #include <idevice++/diagnosticsservice.hpp>
#include <cstring>
namespace IdeviceFFI { namespace IdeviceFFI {