From 2d4a2f583503b4ee860c029bfb4deeb0c29de3d2 Mon Sep 17 00:00:00 2001 From: Thulinma Date: Thu, 16 Mar 2023 14:31:27 +0100 Subject: [PATCH] Fixed compiling with CMake --- CMakeLists.txt | 2 ++ lib/flac.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 27223eeb..c9c7369e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -186,6 +186,7 @@ set(libHeaders lib/dtls_srtp_handshake.h lib/dtsc.h lib/encryption.h + lib/flac.h lib/flv_tag.h lib/h264.h lib/h265.h @@ -253,6 +254,7 @@ add_library (mist lib/dtls_srtp_handshake.cpp lib/dtsc.cpp lib/encryption.cpp + lib/flac.cpp lib/flv_tag.cpp lib/h264.cpp lib/h265.cpp diff --git a/lib/flac.h b/lib/flac.h index d73af30c..3997aa53 100644 --- a/lib/flac.h +++ b/lib/flac.h @@ -3,7 +3,7 @@ #include #include #include //for stat -#include +#include "util.h" namespace FLAC{ bool is_header(const char *header); ///< Checks the first 4 bytes for the string "flaC".