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:
11
src/config.h
11
src/config.h
@ -8,12 +8,21 @@
|
||||
/// Used for command line arguments and config files
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <ctype.h>
|
||||
#include <strings.h>
|
||||
#include <xcb/xfixes.h>
|
||||
|
||||
#ifdef CONFIG_LIBCONFIG
|
||||
#include <libconfig.h>
|
||||
#endif
|
||||
|
||||
#include "common.h"
|
||||
#include "region.h"
|
||||
#include "log.h"
|
||||
#include "compiler.h"
|
||||
#include "win.h"
|
||||
#include "types.h"
|
||||
|
||||
typedef struct session session_t;
|
||||
|
||||
/// VSync modes.
|
||||
typedef enum {
|
||||
|
Reference in New Issue
Block a user