From 16f202f4a0fa6a4a1af6a0b1c519cf3758027c63 Mon Sep 17 00:00:00 2001 From: Yuxuan Shui Date: Thu, 25 Oct 2018 23:31:40 +0100 Subject: [PATCH] Fix build when opengl is disabled --- src/compton.h | 1 + src/x.c | 1 + 2 files changed, 2 insertions(+) diff --git a/src/compton.h b/src/compton.h index a58ec2a..af51b80 100644 --- a/src/compton.h +++ b/src/compton.h @@ -24,6 +24,7 @@ #include #endif +#include #include #ifdef CONFIG_OPENGL #include "opengl.h" // XXX clean up diff --git a/src/x.c b/src/x.c index e7b6c57..2d34500 100644 --- a/src/x.c +++ b/src/x.c @@ -2,6 +2,7 @@ // Copyright (c) 2018 Yuxuan Shui #include +#include #include #include #include