瀏覽代碼

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

Fixes Bugzilla #2384.
Ryan C. Gordon 11 年之前
父節點
當前提交
7afbb8c377
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      include/SDL_pixels.h

+ 2 - 0
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