From 2ebddae37cf56bc61079d1f44846a62a3b74d254 Mon Sep 17 00:00:00 2001 From: GhostNaN Date: Sat, 12 Dec 2020 23:34:09 -0500 Subject: Define uint manually Because on some systems uint isn't defind in stdlib.h --- src/holder.c | 2 ++ src/main.c | 1 + 2 files changed, 3 insertions(+) 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 +typedef unsigned int uint; struct wl_state { struct wl_display *display; -- cgit v1.2.3