fix: Add missing limits header
In many places, we used std::numeric_limits without including the proper header. This would build on some Linux distributions, but not others. This adds the missing includes, fixing the build on Fedora, among other distros. Change-Id: I63e9e37e5973fe23bbdf9868552db51062b1dae4
This commit is contained in:
parent
d02b960452
commit
efbca399c0
|
@ -7,6 +7,7 @@
|
||||||
#include "packager/media/formats/mp2t/program_map_table_writer.h"
|
#include "packager/media/formats/mp2t/program_map_table_writer.h"
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
#include <limits>
|
||||||
|
|
||||||
#include "packager/base/logging.h"
|
#include "packager/base/logging.h"
|
||||||
#include "packager/media/base/buffer_writer.h"
|
#include "packager/media/base/buffer_writer.h"
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
#include "packager/media/formats/mp4/mp4_media_parser.h"
|
#include "packager/media/formats/mp4/mp4_media_parser.h"
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
#include <limits>
|
||||||
|
|
||||||
#include "packager/base/callback.h"
|
#include "packager/base/callback.h"
|
||||||
#include "packager/base/callback_helpers.h"
|
#include "packager/base/callback_helpers.h"
|
||||||
|
|
Loading…
Reference in New Issue