From f91bca36783c9cd8b020b441ef5ffe8f2840c9bc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=98yvind=20Kol=C3=A5s?= <pippin@gimp.org>
Date: Sun, 13 Aug 2023 23:19:40 +0200
Subject: [PATCH] sim: fix wasm build

---
 sim/wasm/ctx.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sim/wasm/ctx.c b/sim/wasm/ctx.c
index c6b02f6f92..681204c4fb 100644
--- a/sim/wasm/ctx.c
+++ b/sim/wasm/ctx.c
@@ -6,6 +6,8 @@
 #define CTX_PARSER 1
 #undef CTX_TILED
 
+#define STB_IMAGE_IMPLEMENTATION
+#include "stb_image.h"
 
 #define CTX_IMPLEMENTATION
 #include "ctx.h"
-- 
GitLab