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>
#endif
#include <X11/Xutil.h>
#include <pixman.h>
#ifdef CONFIG_OPENGL
#include "opengl.h" // XXX clean up

View File

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