Skip to content

Commit

Permalink
Fix build when opengl is disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
yshui committed Oct 25, 2018
1 parent df63cab commit 16f202f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/compton.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
#include <errno.h>
#endif

#include <X11/Xutil.h>
#include <pixman.h>
#ifdef CONFIG_OPENGL
#include "opengl.h" // XXX clean up
Expand Down
1 change: 1 addition & 0 deletions src/x.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 16f202f

Please sign in to comment.