Skip to content
Snippets Groups Projects
Commit 29e627fb authored by orbea's avatar orbea Committed by Steve Lhomme
Browse files

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;
      |                                ^
parent b1c03211
No related branches found
No related tags found
1 merge request!4941modules/demux/adaptive/playlist: add missing <ctime> include
Pipeline #439071 passed with warnings with stage
in 25 minutes and 33 seconds
......@@ -21,6 +21,7 @@
#ifndef BASEPLAYLIST_HPP_
#define BASEPLAYLIST_HPP_
#include <ctime>
#include <vector>
#include <string>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment