From 3305756af8c646efc0842cfb6a1d74f8e6872318 Mon Sep 17 00:00:00 2001 From: IoIxD Date: Sun, 7 Dec 2025 19:29:00 -0700 Subject: [PATCH] more scattered include removal --- src/backend/wayland.c | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/src/backend/wayland.c b/src/backend/wayland.c index a7819d2..d30a5d4 100644 --- a/src/backend/wayland.c +++ b/src/backend/wayland.c @@ -1,28 +1,21 @@ #include -#include -#include -#include -#include #include -#include -#include -#include -#include -#include -#include #include #include "../../external/stb_ds.h" -#include "Mw/BaseTypes.h" -#include "Mw/LowLevel.h" #include #include #include /* TODO: find out what FreeBSD and such wants us to include */ +#ifdef __FreeBSD__ +/* XXX: Untested (nishi) */ +#include +#else #include +#endif PFNGLGENFRAMEBUFFERSPROC glGenFramebuffers; PFNGLFRAMEBUFFERTEXTURE2DPROC glFramebufferTexture2D;