diff --git a/dartvlc/internal/internal.hpp b/dartvlc/internal/internal.hpp index 1d77412b..50c20d6a 100644 --- a/dartvlc/internal/internal.hpp +++ b/dartvlc/internal/internal.hpp @@ -8,8 +8,11 @@ * GNU Lesser General Public License v2.1 */ +#ifdef _WIN32 #include - +#else +#include "vlcpp/vlc.hpp" +#endif class PlayerInternal { protected: diff --git a/linux/CMakeLists.txt b/linux/CMakeLists.txt index 100b0e3b..4451d7a4 100644 --- a/linux/CMakeLists.txt +++ b/linux/CMakeLists.txt @@ -38,6 +38,8 @@ include_directories(${PACKAGE} INTERFACE target_include_directories(${PACKAGE} INTERFACE # DartVLC Headers. ${CMAKE_CURRENT_SOURCE_DIR}/../ffi/native + # libVLC++ Headers. + ${LIBVLCPP_SOURCE} ) target_link_libraries(${PACKAGE} PRIVATE vlc