aboutsummaryrefslogtreecommitdiff
path: root/src/c.zig
diff options
context:
space:
mode:
authorIsaac Freund <ifreund@ifreund.xyz>2020-03-21 16:55:42 +0100
committerIsaac Freund <ifreund@ifreund.xyz>2020-03-21 16:55:42 +0100
commit57ab110f43efd2681fd61872820ac942b8f5bcd3 (patch)
tree4b63a12e4367ab2cb2f18b9c1004a1dab8910478 /src/c.zig
parente1d1683c3f6c0ac5862aca0fd732c701a5e687f7 (diff)
downloadriver-57ab110f43efd2681fd61872820ac942b8f5bcd3.tar.gz
river-57ab110f43efd2681fd61872820ac942b8f5bcd3.tar.xz
Hack around @cImport() not handling flexible arrays
Diffstat (limited to 'src/c.zig')
-rw-r--r--src/c.zig6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/c.zig b/src/c.zig
index 57302a9..5169a17 100644
--- a/src/c.zig
+++ b/src/c.zig
@@ -5,8 +5,8 @@ pub const c = @cImport({
@cInclude("time.h");
@cInclude("stdlib.h");
@cInclude("wayland-server-core.h");
- @cInclude("wlr/backend.h");
- @cInclude("wlr/render/wlr_renderer.h");
+ //@cInclude("wlr/backend.h");
+ //@cInclude("wlr/render/wlr_renderer.h");
@cInclude("wlr/types/wlr_cursor.h");
@cInclude("wlr/types/wlr_compositor.h");
@cInclude("wlr/types/wlr_data_device.h");
@@ -21,6 +21,8 @@ pub const c = @cImport({
@cInclude("wlr/types/wlr_xdg_shell.h");
@cInclude("wlr/util/log.h");
@cInclude("xkbcommon/xkbcommon.h");
+
+ @cInclude("include/render.h");
});
pub const manual = struct {