Group common includes into common.h

Include config.h and compat.h in common.h, and include common.h from all
source files.
This commit is contained in:
Romain Vimont
2021-01-08 19:18:02 +01:00
parent 6385b8c162
commit 59feb2a15c
53 changed files with 30 additions and 63 deletions

View File

@@ -7,9 +7,8 @@
#define SDL_MAIN_HANDLED // avoid link error on Linux Windows Subsystem
#include <SDL2/SDL.h>
#include "config.h"
#include "common.h"
#include "cli.h"
#include "compat.h"
#include "util/log.h"
static void