diff --git a/backend/backend.c b/backend/backend.c index bf71ce317..78b90007c 100644 --- a/backend/backend.c +++ b/backend/backend.c @@ -13,7 +13,10 @@ #include #include #include +#include #include + +/* WLR_HAS_X11_BACKEND needs to be after wlr/config.h */ #ifdef WLR_HAS_X11_BACKEND #include #endif diff --git a/backend/session/direct-ipc.c b/backend/session/direct-ipc.c index bcaf7bba1..5fdb95acb 100644 --- a/backend/session/direct-ipc.c +++ b/backend/session/direct-ipc.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include #ifdef __linux__ diff --git a/backend/session/logind.c b/backend/session/logind.c index 47082c208..2f816b953 100644 --- a/backend/session/logind.c +++ b/backend/session/logind.c @@ -11,6 +11,7 @@ #include #include #include +#include #include #include "util/signal.h" diff --git a/backend/session/session.c b/backend/session/session.c index 67d200043..8d74bafec 100644 --- a/backend/session/session.c +++ b/backend/session/session.c @@ -9,6 +9,7 @@ #include #include #include +#include #include #include #include diff --git a/backend/x11/backend.c b/backend/x11/backend.c index 077433a44..e0f5d6e72 100644 --- a/backend/x11/backend.c +++ b/backend/x11/backend.c @@ -7,6 +7,7 @@ #include #include #include +#include #include #include #include diff --git a/backend/x11/input_device.c b/backend/x11/input_device.c index 890dd6295..a16da1c93 100644 --- a/backend/x11/input_device.c +++ b/backend/x11/input_device.c @@ -1,4 +1,5 @@ #include +#include #include #include #include diff --git a/meson.build b/meson.build index d43d22f14..5fd89832e 100644 --- a/meson.build +++ b/meson.build @@ -25,10 +25,6 @@ add_project_arguments( '-I@0@'.format(meson.build_root()), language: 'c', ) -add_project_arguments( - '-include@0@'.format(join_paths(meson.build_root(), 'include', 'wlr', 'config.h')), - language: 'c', -) add_project_link_arguments( '-Wl,-rpath,@0@'.format(meson.build_root()), language: 'c', diff --git a/types/tablet_v2/wlr_tablet_v2.c b/types/tablet_v2/wlr_tablet_v2.c index 9654e443c..fa058e79b 100644 --- a/types/tablet_v2/wlr_tablet_v2.c +++ b/types/tablet_v2/wlr_tablet_v2.c @@ -8,6 +8,7 @@ #include #include #include +#include #include #include #include diff --git a/xwayland/xwm.c b/xwayland/xwm.c index 9bf8068e5..6632b5fc8 100644 --- a/xwayland/xwm.c +++ b/xwayland/xwm.c @@ -4,6 +4,7 @@ #include #include #include +#include #include #include #include