summary refs log tree commit diff
path: root/src/warp.c
diff options
context:
space:
mode:
authorzlago2025-05-08 21:56:43 +0200
committerzlago2025-05-08 21:56:43 +0200
commit6af605d10d4d7e2bdea79b8d69d0d48704ef77f8 (patch)
tree751bec92ec20ef638a8c7c571951cb2a732ced05 /src/warp.c
parent67c27b93788fa429570da22a48f98291cd402e49 (diff)
include more specific headers than SDL.h
improves compilation times, since so many things only need SDL_render.h
Diffstat (limited to 'src/warp.c')
-rw-r--r--src/warp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/warp.c b/src/warp.c
index 3556ef3..c9bb1b4 100644
--- a/src/warp.c
+++ b/src/warp.c
@@ -2,6 +2,8 @@
 #include "entity.h"
 #include "loader.h"
 #include "tilemap.h"
+#include <string.h>
+#include <stdlib.h>
 
 static int warp_update(struct warp *self) {
 	if (