Browse Source

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

Fixes Bugzilla #2384.
Ryan C. Gordon 11 năm trước cách đây
mục cha
commit
7afbb8c377
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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