diff options
-rw-r--r-- | src/x11util.cpp | 1 | ||||
-rw-r--r-- | src/x11util.h | 2 |
2 files changed, 3 insertions, 0 deletions
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 <cstring> #include <cstdlib> #include <cstdio> +#include <cstddef> 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 <cstddef> + extern "C" { #include <X11/X.h> void AddPixmapToBackground(unsigned const char* imgData, const unsigned int width, const unsigned int height, |