Browse Source

examples/snake: Actually fixed build this time.

Ryan C. Gordon 8 months ago
parent
commit
3b5c3d6cc8
1 changed files with 3 additions and 0 deletions
  1. 3 0
      examples/game/01-snake/snake.h

+ 3 - 0
examples/game/01-snake/snake.h

@@ -5,6 +5,9 @@
  */
 #ifndef SNAKE_H
 #define SNAKE_H
+
+#include <SDL3/SDL.h>
+
 #define SNAKE_GAME_WIDTH  24U
 #define SNAKE_GAME_HEIGHT 18U
 #define SNAKE_MATRIX_SIZE (SNAKE_GAME_WIDTH * SNAKE_GAME_HEIGHT)