Even more includes
Expand the modulemap to cover some of the system headers too. Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
@ -2,33 +2,16 @@
|
||||
// Copyright (c)
|
||||
|
||||
// Throw everything in here.
|
||||
|
||||
// !!! DON'T !!!
|
||||
|
||||
// === Includes ===
|
||||
|
||||
#include <math.h>
|
||||
#include <sys/select.h>
|
||||
#include <limits.h>
|
||||
#include <unistd.h>
|
||||
#include <getopt.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdbool.h>
|
||||
#include <locale.h>
|
||||
#include <signal.h>
|
||||
|
||||
#ifdef CONFIG_VSYNC_DRM
|
||||
#include <fcntl.h>
|
||||
// We references some definitions in drm.h, which could also be found in
|
||||
// /usr/src/linux/include/drm/drm.h, but that path is probably even less
|
||||
// reliable than libdrm
|
||||
#include <drm.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <errno.h>
|
||||
#endif
|
||||
#include <xcb/xproto.h>
|
||||
|
||||
#include <X11/Xutil.h>
|
||||
#include <pixman.h>
|
||||
#ifdef CONFIG_OPENGL
|
||||
#include "opengl.h" // XXX clean up
|
||||
#endif
|
||||
#include "common.h"
|
||||
#include "win.h"
|
||||
#include "x.h"
|
||||
@ -39,6 +22,7 @@
|
||||
#include "types.h"
|
||||
#include "utils.h"
|
||||
#include "render.h"
|
||||
#include "config.h"
|
||||
|
||||
// == Functions ==
|
||||
// TODO move static inline functions that are only used in compton.c, into
|
||||
|
Reference in New Issue
Block a user