---
 compositor/main.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/compositor/main.c b/compositor/main.c
index 32fb33e8..dedb5e64 100644
--- a/compositor/main.c
+++ b/compositor/main.c
@@ -41,7 +41,11 @@
 #include <sys/socket.h>
 #include <libinput.h>
 #include <sys/time.h>
+#ifdef __linux__
 #include <linux/limits.h>
+#else
+#include <sys/param.h>
+#endif
 
 #ifdef HAVE_LIBUNWIND
 #define UNW_LOCAL_ONLY
-- 
2.15.1

_______________________________________________
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to