[vlc-commits] [Git][videolan/vlc][3.0.x] adaptive: Add a missing <cstdlib> include for std::malloc/std::free

Steve Lhomme (@robUx4) gitlab at videolan.org
Thu Nov 12 08:59:16 UTC 2026



Steve Lhomme pushed to branch 3.0.x at VideoLAN / VLC


Commits:
f7ee56b9 by Martin Storsjö at 2026-11-12T08:49:23+00:00
adaptive: Add a missing <cstdlib> include for std::malloc/std::free

This is needed since b72f94a6391c3793618e2d1cb36a134a1261dc14,
when building with libc++ 23 or newer.

The corresponding include was added on the master branch in
e82e3968785a4e06ecd964200aebcc277a7e0dbe, but that one doesn't
apply cleanly (for any of the touched files) on the 3.0.x branch.

- - - - -


1 changed file:

- modules/demux/adaptive/http/HTTPConnection.cpp


Changes:

=====================================
modules/demux/adaptive/http/HTTPConnection.cpp
=====================================
@@ -31,6 +31,7 @@
 #include <vlc_keystore.h>
 
 #include <new>
+#include <cstdlib>
 
 extern "C"
 {



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/f7ee56b99860e9ff8965e899b854c68c6aaca561

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/f7ee56b99860e9ff8965e899b854c68c6aaca561
You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help




More information about the vlc-commits mailing list