We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 3973

Summary: Include of stdint is needed to build on linux, mingw and possibly android
Product: SDL Reporter: Stuart Axon <stuaxo2>
Component: videoAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: critical    
Priority: P2 CC: programmerjake, sezeroz
Version: don't know   
Hardware: x86_64   
OS: Linux   

Description Stuart Axon 2017-11-20 02:07:26 UTC
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

The comment says that the calling code should include stdint, but I don't know SDL code at all to try this myself.

In this case including file is SDL_video.c, however there are only SDL_* includes in here, so should stdint.h be included here or somewhere else ?
Comment 1 Sam Lantinga 2017-11-20 08:07:10 UTC
Can you try this and see if it's fixed?
https://hg.libsdl.org/SDL/rev/08ecfdbb39f2

Thanks!
Comment 2 Ozkan Sezer 2017-12-09 09:40:54 UTC
AFAICS, this is fixed already.
Comment 3 Sam Lantinga 2017-12-09 18:39:22 UTC
Thanks!