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:
2
src/x.h
2
src/x.h
@ -3,12 +3,14 @@
|
||||
#pragma once
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdlib.h>
|
||||
#include <xcb/xcb.h>
|
||||
#include <xcb/render.h>
|
||||
#include <xcb/sync.h>
|
||||
#include <xcb/xfixes.h>
|
||||
#include <xcb/xcb_renderutil.h>
|
||||
|
||||
#include "compiler.h"
|
||||
#include "region.h"
|
||||
|
||||
typedef struct session session_t;
|
||||
|
Reference in New Issue
Block a user