Fix build when opengl is disabled

This commit is contained in:
Yuxuan Shui 2018-10-25 23:31:40 +01:00
parent df63cab39a
commit 16f202f4a0
2 changed files with 2 additions and 0 deletions

View File

@ -24,6 +24,7 @@
#include <errno.h> #include <errno.h>
#endif #endif
#include <X11/Xutil.h>
#include <pixman.h> #include <pixman.h>
#ifdef CONFIG_OPENGL #ifdef CONFIG_OPENGL
#include "opengl.h" // XXX clean up #include "opengl.h" // XXX clean up

View File

@ -2,6 +2,7 @@
// Copyright (c) 2018 Yuxuan Shui <yshuiv7@gmail.com> // Copyright (c) 2018 Yuxuan Shui <yshuiv7@gmail.com>
#include <stdbool.h> #include <stdbool.h>
#include <X11/Xutil.h>
#include <X11/Xlib.h> #include <X11/Xlib.h>
#include <xcb/xcb_renderutil.h> #include <xcb/xcb_renderutil.h>
#include <xcb/xfixes.h> #include <xcb/xfixes.h>