summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Barrett <tom@tombarrett.xyz>2023-01-16 22:12:40 +0100
committerTom Barrett <tom@tombarrett.xyz>2023-01-16 22:12:40 +0100
commitdf324bb48486d12291420d614b4069ebdf9ec5d8 (patch)
tree2b52ef97d9a8e008b9bbd6a90480554df09d9d97 /src
parentb31f1d5379c61373f672fc689705acf902ad9cf9 (diff)
you need to link c now adays
Diffstat (limited to 'src')
-rw-r--r--src/sdl.zig4
1 files changed, 3 insertions, 1 deletions
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 {