[vlc-commits] [Git][videolan/vlc][master] modules/demux/adaptive/playlist: add missing <ctime> include
Steve Lhomme (@robUx4)
gitlab at videolan.org
Sun Feb 18 06:40:08 UTC 2024
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
29e627fb by orbea at 2024-02-18T06:14:06+00:00
modules/demux/adaptive/playlist: add missing <ctime> include
With musl it fails to build because <ctime> is not included.
In file included from demux/adaptive/SegmentTracker.cpp:27:
demux/adaptive/playlist/BasePlaylist.hpp:69:26: error: 'time_t' was not declared in this scope
69 | Property<time_t> playbackStart;
| ^~~~~~
demux/adaptive/playlist/BasePlaylist.hpp:29:1: note: 'time_t' is defined in header '<ctime>'; did you forget to '#include <ctime>'?
28 | #include "Inheritables.hpp"
+++ |+#include <ctime>
29 | #include "../tools/Properties.hpp"
demux/adaptive/playlist/BasePlaylist.hpp:69:32: error: template argument 1 is invalid
69 | Property<time_t> playbackStart;
| ^
- - - - -
1 changed file:
- modules/demux/adaptive/playlist/BasePlaylist.hpp
Changes:
=====================================
modules/demux/adaptive/playlist/BasePlaylist.hpp
=====================================
@@ -21,6 +21,7 @@
#ifndef BASEPLAYLIST_HPP_
#define BASEPLAYLIST_HPP_
+#include <ctime>
#include <vector>
#include <string>
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/29e627fbd596cf2f826d483d208432b0c52102d1
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/29e627fbd596cf2f826d483d208432b0c52102d1
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list