diff options
author | Simon Rettberg | 2018-08-30 16:01:48 +0200 |
---|---|---|
committer | Simon Rettberg | 2018-08-30 16:01:48 +0200 |
commit | e96be26b64952a68677478c37895b9c5729bb6e2 (patch) | |
tree | c288799673ee07e2c3de1f21f883d96b2214e43d | |
parent | Sanitize C++11 (diff) | |
download | slxgreeter-e96be26b64952a68677478c37895b9c5729bb6e2.tar.gz slxgreeter-e96be26b64952a68677478c37895b9c5729bb6e2.tar.xz slxgreeter-e96be26b64952a68677478c37895b9c5729bb6e2.zip |
Fix compile error
-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, |