From e96be26b64952a68677478c37895b9c5729bb6e2 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Thu, 30 Aug 2018 16:01:48 +0200 Subject: Fix compile error --- src/x11util.cpp | 1 + src/x11util.h | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/x11util.cpp b/src/x11util.cpp index 775f072..67dae90 100644 --- a/src/x11util.cpp +++ b/src/x11util.cpp @@ -6,6 +6,7 @@ extern "C" { #include #include #include +#include static int eHandler(Display* dpy, XErrorEvent* e) { diff --git a/src/x11util.h b/src/x11util.h index 5f8d3e5..0ae8bc7 100644 --- a/src/x11util.h +++ b/src/x11util.h @@ -1,6 +1,8 @@ #ifndef X11UTIL_H_ #define X11UTIL_H_ +#include + extern "C" { #include void AddPixmapToBackground(unsigned const char* imgData, const unsigned int width, const unsigned int height, -- cgit v1.2.3-55-g7522