SDL_pixels.h needs SDL_stdinc.h for SDL_FOURCC #define (thanks, Dmitry!).
authorRyan C. Gordon <icculus@icculus.org>
Wed, 05 Feb 2014 00:34:26 -0500
changeset 8175 4f4c65f5d797
parent 8174 a8e60169b648
child 8176 9efac2fd6ed6
SDL_pixels.h needs SDL_stdinc.h for SDL_FOURCC #define (thanks, Dmitry!). Fixes Bugzilla #2384.
include/SDL_pixels.h
--- a/include/SDL_pixels.h	Tue Feb 04 18:21:39 2014 -0500
+++ b/include/SDL_pixels.h	Wed Feb 05 00:34:26 2014 -0500
@@ -28,6 +28,8 @@
 #ifndef _SDL_pixels_h
 #define _SDL_pixels_h
 
+#include "SDL_stdinc.h"
+
 #include "begin_code.h"
 /* Set up for C function definitions, even when using C++ */
 #ifdef __cplusplus