Index: intern/ghost/intern/GHOST_WindowWayland.cc
--- intern/ghost/intern/GHOST_WindowWayland.cc.orig
+++ intern/ghost/intern/GHOST_WindowWayland.cc
@@ -51,7 +51,7 @@
 #include <optional>
 
 #include <cstring>  /* For `memcpy`. */
-#include <malloc.h> /* For `malloc_usable_size`. */
+#include <stdlib.h> /* For `malloc_usable_size`. */
 
 /* Logging, use `ghost.wl.*` prefix. */
 #include "CLG_log.h"
