diff --git a/libavutil/display.c b/libavutil/display.c index a0076e067b..d31061283c 100644 --- a/libavutil/display.c +++ b/libavutil/display.c @@ -23,6 +23,7 @@ #include #include "display.h" +#include "libm.h" #include "mathematics.h" // fixed point to double diff --git a/libavutil/display.h b/libavutil/display.h index d87bf68425..31d8bef361 100644 --- a/libavutil/display.h +++ b/libavutil/display.h @@ -27,7 +27,6 @@ #define AVUTIL_DISPLAY_H #include -#include "common.h" /** * @addtogroup lavu_video diff --git a/libavutil/tests/display.c b/libavutil/tests/display.c index 893ebb5543..19b07fc15f 100644 --- a/libavutil/tests/display.c +++ b/libavutil/tests/display.c @@ -18,6 +18,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include #include "libavutil/display.c" static void print_matrix(int32_t matrix[9])