From 92496f42c94a5db84fad9a2c04b52ebdc3c6cef7 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 1 Jul 2019 10:48:35 +0530 Subject: [PATCH] Try a couple of different header files for the BTN_ includes --- glfw/wl_init.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/glfw/wl_init.c b/glfw/wl_init.c index 9559eedd2..f4c0b93ad 100644 --- a/glfw/wl_init.c +++ b/glfw/wl_init.c @@ -38,6 +38,12 @@ #include #include #include +// Needed for the BTN_* defines +#if __has_include() +#include +#elif __has_include() +#include +#endif static inline int min(int n1, int n2)