Skip to content

Commit

Permalink
[core] Fix build with GCC 11. (#1806)
Browse files Browse the repository at this point in the history
The 'limits' header must be included explicitly.
  • Loading branch information
krop authored Feb 10, 2021
1 parent 40943db commit f1b35cb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions srtcore/sync.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
//#define ENABLE_CXX17

#include <cstdlib>
#include <limits>
#ifdef ENABLE_STDCXX_SYNC
#include <chrono>
#include <thread>
Expand Down

0 comments on commit f1b35cb

Please sign in to comment.