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 2384 - SDL_pixels.h misses SDL_stdinc.h include
Summary: SDL_pixels.h misses SDL_stdinc.h include
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: render (show other bugs)
Version: 2.0.1
Hardware: x86_64 FreeBSD
: P2 minor
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-04 18:15 UTC by Dmitry Marakasov
Modified: 2014-02-05 05:35 UTC (History)
1 user (show)

See Also:


Attachments
Fix (358 bytes, patch)
2014-02-04 18:15 UTC, Dmitry Marakasov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Marakasov 2014-02-04 18:15:23 UTC
Created attachment 1546 [details]
Fix

SDL_pixels.h uses SDL_FOURCC macro defined in SDL_stdinc.h but doesn't include the latter. Fix it so SDL_pixels.h can be used without need of extra includes.
Comment 1 Ryan C. Gordon 2014-02-05 05:35:41 UTC
This patch is now https://hg.libsdl.org/SDL/rev/4f4c65f5d797

Thanks!

--ryan.