summaryrefslogtreecommitdiff
blob: 0aab0273d42474d65bb3beb74a3b550c6a992484 (plain)
1
2
3
4
5
6
7
8
9
10
11
https://bugs.gentoo.org/918113
--- a/libmpcodecs/mp_image.c
+++ b/libmpcodecs/mp_image.c
@@ -30,6 +30,7 @@
 #include "libmpcodecs/mp_image.h"
 #include "libvo/fastmemcpy.h"
 #include "libavutil/mem.h"
+#include <limits.h>
 #include "mp_msg.h"
 
 void mp_image_alloc_planes(mp_image_t *mpi) {