Skip to content

Commit

Permalink
Merge pull request #210 from mathisloge/bugfix/fixbuild
Browse files Browse the repository at this point in the history
Fix build with gcc13
  • Loading branch information
tampsa authored Jan 30, 2024
2 parents 985b290 + 8a976f0 commit 26bf69e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
10 changes: 5 additions & 5 deletions cmake/FindDependencies.cmake
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
if (NOT UVGRTP_DISABLE_TESTS)
# PThread
set(CMAKE_THREAD_PREFER_PTHREAD TRUE)
set(THREADS_PREFER_PTHREAD_FLAG TRUE)
find_package( Threads REQUIRED )
# PThread
set(CMAKE_THREAD_PREFER_PTHREAD TRUE)
set(THREADS_PREFER_PTHREAD_FLAG TRUE)
find_package( Threads REQUIRED )

if (NOT UVGRTP_DISABLE_TESTS)
# Git
find_package(Git)

Expand Down
1 change: 1 addition & 0 deletions include/uvgrtp/media_stream.hh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#include <memory>
#include <string>
#include <atomic>
#include <cstdint>

#ifndef _WIN32
#include <sys/socket.h>
Expand Down
1 change: 1 addition & 0 deletions src/crypto.hh
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
#endif // __cplusplus

#include <iostream>
#include <cstdint>

namespace uvgrtp {

Expand Down

0 comments on commit 26bf69e

Please sign in to comment.