Fixed compiling with CMake

This commit is contained in:
Thulinma 2023-03-16 14:31:27 +01:00
parent 131d4c3bb5
commit 2d4a2f5835
2 changed files with 3 additions and 1 deletions

View file

@ -186,6 +186,7 @@ set(libHeaders
lib/dtls_srtp_handshake.h lib/dtls_srtp_handshake.h
lib/dtsc.h lib/dtsc.h
lib/encryption.h lib/encryption.h
lib/flac.h
lib/flv_tag.h lib/flv_tag.h
lib/h264.h lib/h264.h
lib/h265.h lib/h265.h
@ -253,6 +254,7 @@ add_library (mist
lib/dtls_srtp_handshake.cpp lib/dtls_srtp_handshake.cpp
lib/dtsc.cpp lib/dtsc.cpp
lib/encryption.cpp lib/encryption.cpp
lib/flac.cpp
lib/flv_tag.cpp lib/flv_tag.cpp
lib/h264.cpp lib/h264.cpp
lib/h265.cpp lib/h265.cpp

View file

@ -3,7 +3,7 @@
#include <sstream> #include <sstream>
#include <string> #include <string>
#include <unistd.h> //for stat #include <unistd.h> //for stat
#include <util.h> #include "util.h"
namespace FLAC{ namespace FLAC{
bool is_header(const char *header); ///< Checks the first 4 bytes for the string "flaC". bool is_header(const char *header); ///< Checks the first 4 bytes for the string "flaC".