From 3ac8adbae3a6b210e08b4f8b3b07e8aafa3b2c63 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Mon, 20 Nov 2017 00:06:37 -0800 Subject: [PATCH] Fixed bug 3973 - Include of stdint is needed to build on linux, mingw and possibly android Stuart Axon https://discourse.libsdl.org/t/stdint-h-removed/23426 https://discourse.libsdl.org/t/debuild-fails-to-build-the-last-few-days/23429/4 Currently SDL2 is not building in Linux (x86 and ARM), Android and MingW because include stdint.h has been removed from yuv_rgb.h --- src/video/yuv2rgb/yuv_rgb.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/video/yuv2rgb/yuv_rgb.h b/src/video/yuv2rgb/yuv_rgb.h index f1b571e02..81d97ebdc 100644 --- a/src/video/yuv2rgb/yuv_rgb.h +++ b/src/video/yuv2rgb/yuv_rgb.h @@ -16,7 +16,8 @@ // For all methods, width and height should be even, if not, the last row/column of the result image won't be affected. // For sse methods, if the width if not divisable by 32, the last (width%32) pixels of each line won't be affected. -/*#include - handled by sources including this header */ +#include "SDL_stdinc.h" +/*#include */ typedef enum {