You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-libs/srt/files/srt-1.4.2-cxx-include-gcc11...

20 lines
577 B

https://bugs.gentoo.org/787023
https://github.com/Haivision/srt/commit/f1b35cbf5b9b42b031e9b119e4c802b5f744468c
From f1b35cbf5b9b42b031e9b119e4c802b5f744468c Mon Sep 17 00:00:00 2001
From: Christophe Giboudeaux <krop@users.noreply.github.com>
Date: Wed, 10 Feb 2021 12:42:45 +0000
Subject: [PATCH] [core] Fix build with GCC 11. (#1806)
The 'limits' header must be included explicitly.
--- a/srtcore/sync.h
+++ b/srtcore/sync.h
@@ -15,6 +15,7 @@
//#define ENABLE_CXX17
#include <cstdlib>
+#include <limits>
#ifdef ENABLE_STDCXX_SYNC
#include <chrono>
#include <thread>