diff --git a/example/hello_world/hello_libc.zig b/example/hello_world/hello_libc.zig index 1f7ba9046a..97174fe018 100644 --- a/example/hello_world/hello_libc.zig +++ b/example/hello_world/hello_libc.zig @@ -1,4 +1,4 @@ -const c = @c_import(@c_include("stdio.h")); +const c = @cImport(@cInclude("stdio.h")); export fn main(argc: c_int, argv: &&u8) -> c_int { c.printf(c"Hello, world!\n");