Commit 3ac8adbae3a6b210e08b4f8b3b07e8aafa3b2c63

Sam Lantinga 2017-11-20T00:06:37

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

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/src/video/yuv2rgb/yuv_rgb.h b/src/video/yuv2rgb/yuv_rgb.h
index f1b571e..81d97eb 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 <stdint.h> - handled by sources including this header */
+#include "SDL_stdinc.h"
+/*#include <stdint.h>*/
 
 typedef enum
 {