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 - Include of stdint is needed to build on linux, mingw and possibly android
Summary: Include of stdint is needed to build on linux, mingw and possibly android
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: don't know
Hardware: x86_64 Linux
: P2 critical
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-20 02:07 UTC by Stuart Axon
Modified: 2017-12-09 18:39 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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!