diff options
Diffstat (limited to 'libmpdemux/ebml.c')
-rw-r--r-- | libmpdemux/ebml.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libmpdemux/ebml.c b/libmpdemux/ebml.c index 1482cb2754..21aefb5b74 100644 --- a/libmpdemux/ebml.c +++ b/libmpdemux/ebml.c @@ -14,6 +14,10 @@ #include "bswap.h" +#ifndef SIZE_MAX +#define SIZE_MAX ((size_t)-1) +#endif + /* * Read: the element content data ID. * Return: the ID. |