Optimize includes
Only include SDL_stdinc.h for SDL_bool, not the whole SDL.h.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
#define COMMAND_H
|
||||
|
||||
#include <inttypes.h>
|
||||
#include <SDL2/SDL.h>
|
||||
#include <SDL2/SDL_stdinc.h>
|
||||
#include <SDL2/SDL_platform.h>
|
||||
|
||||
// <https://stackoverflow.com/a/44383330/1987178>
|
||||
|
||||
Reference in New Issue
Block a user