Optimize includes

Only include SDL_stdinc.h for SDL_bool, not the whole SDL.h.
This commit is contained in:
Romain Vimont
2017-12-15 17:34:16 +01:00
parent d5b349f670
commit d972a88c1a
5 changed files with 6 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
#ifndef DECODER_H
#define DECODER_H
#include <SDL2/SDL.h>
#include <SDL2/SDL_stdinc.h>
#include <SDL2/SDL_net.h>
struct frames;