From 4257bc323dc12df167756d6eb0ecaa32298eb4e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Fri, 1 May 2026 22:53:05 +0300 Subject: [PATCH] Add missing includes This file uses std::nothrow, which requires including . This fixes building with libc++ with _LIBCPP_REMOVE_TRANSITIVE_INCLUDES set (which removes unnecessary transitive dependencies, making it more strict wrt including all the right headers). This will become the default in a few versions, see [1]. This is only needed since commit 0d5873f3c0c4a4af376b8289ef7e240c6e72a8c7. Older versions before b5475c34e547989dff6c89c6af1050998d8a9067 require an extra include of in src/EbmlMaster.cpp. [1] https://discourse.llvm.org/t/rfc-remove-unused-transitive-includes-from-the-libc-headers/90157 --- src/EbmlElement.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/EbmlElement.cpp b/src/EbmlElement.cpp index 3f8615c1..4bfa807c 100644 --- a/src/EbmlElement.cpp +++ b/src/EbmlElement.cpp @@ -11,6 +11,7 @@ #include #include #include +#include #include "ebml/EbmlElement.h" #include "ebml/EbmlStream.h"