Improve the include situation

Slightly clean up header inclusion with the help of clang's module system.
It's better for files to include the things you need directly.

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
Yuxuan Shui
2019-01-18 23:30:44 +00:00
parent c93789f5e9
commit 1e0deea57f
17 changed files with 39 additions and 30 deletions

View File

@ -23,6 +23,7 @@
#include <ev.h>
#include "common.h"
#include "compiler.h"
#include "compton.h"
#ifdef CONFIG_OPENGL
@ -35,6 +36,9 @@
#include "string_utils.h"
#include "render.h"
#include "utils.h"
#include "region.h"
#include "types.h"
#include "c2.h"
#include "kernel.h"
#include "vsync.h"
#include "log.h"