Fixed bug 3973 - Include of stdint is needed to build on linux, mingw and possibly android
authorSam Lantinga <slouken@libsdl.org>
Mon, 20 Nov 2017 00:06:37 -0800
changeset 1170808ecfdbb39f2
parent 11707 7960a740a126
child 11709 cef120429a95
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
     1.1 --- a/src/video/yuv2rgb/yuv_rgb.h	Mon Nov 20 00:03:23 2017 -0800
     1.2 +++ b/src/video/yuv2rgb/yuv_rgb.h	Mon Nov 20 00:06:37 2017 -0800
     1.3 @@ -16,7 +16,8 @@
     1.4  // For all methods, width and height should be even, if not, the last row/column of the result image won't be affected.
     1.5  // For sse methods, if the width if not divisable by 32, the last (width%32) pixels of each line won't be affected.
     1.6  
     1.7 -/*#include <stdint.h> - handled by sources including this header */
     1.8 +#include "SDL_stdinc.h"
     1.9 +/*#include <stdint.h>*/
    1.10  
    1.11  typedef enum
    1.12  {