Commit 7afbb8c377fa5d5a891f0360dfd1243735cf1494

Ryan C. Gordon 2014-02-05T00:34:26

SDL_pixels.h needs SDL_stdinc.h for SDL_FOURCC #define (thanks, Dmitry!). Fixes Bugzilla #2384.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/include/SDL_pixels.h b/include/SDL_pixels.h
index 5abf92a..3131af7 100644
--- a/include/SDL_pixels.h
+++ b/include/SDL_pixels.h
@@ -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