summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGhostNaN <GhostNaN@protonmail.com>2020-12-12 23:34:09 -0500
committerGhostNaN <GhostNaN@protonmail.com>2020-12-12 23:38:24 -0500
commit2ebddae37cf56bc61079d1f44846a62a3b74d254 (patch)
tree635d9cc89368dc1b487b35d2de8944b3dd56a2e2
parent67482fc89d6ed1e2f299e395a7e7d7a68d3044f4 (diff)
Define uint manually
Because on some systems uint isn't defind in stdlib.h
-rw-r--r--src/holder.c2
-rw-r--r--src/main.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/holder.c b/src/holder.c
index 09d425e..32027b3 100644
--- a/src/holder.c
+++ b/src/holder.c
@@ -12,6 +12,8 @@
#include "wlr-layer-shell-unstable-v1-client-protocol.h"
#include "xdg-output-unstable-v1-client-protocol.h"
+typedef unsigned int uint;
+
struct wl_state {
struct wl_display *display;
struct wl_compositor *compositor;
diff --git a/src/main.c b/src/main.c
index cbe559c..39f504c 100644
--- a/src/main.c
+++ b/src/main.c
@@ -21,6 +21,7 @@
#include <cflogprinter.h>
+typedef unsigned int uint;
struct wl_state {
struct wl_display *display;