From df324bb48486d12291420d614b4069ebdf9ec5d8 Mon Sep 17 00:00:00 2001 From: Tom Barrett Date: Mon, 16 Jan 2023 22:12:40 +0100 Subject: you need to link c now adays --- src/sdl.zig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/sdl.zig b/src/sdl.zig index f8925a1..6066c03 100644 --- a/src/sdl.zig +++ b/src/sdl.zig @@ -1,5 +1,7 @@ const std = @import("std"); -const sdl = @cImport(@cInclude("SDL2/SDL.h")); +const sdl = @cImport({ + @cInclude("SDL.h"); +}); const Point = @import("main.zig").Point; pub const instance = struct { -- cgit v1.2.3