diff options
| author | Isaac Freund <ifreund@ifreund.xyz> | 2020-03-21 16:55:42 +0100 |
|---|---|---|
| committer | Isaac Freund <ifreund@ifreund.xyz> | 2020-03-21 16:55:42 +0100 |
| commit | 57ab110f43efd2681fd61872820ac942b8f5bcd3 (patch) | |
| tree | 4b63a12e4367ab2cb2f18b9c1004a1dab8910478 /src/c.zig | |
| parent | e1d1683c3f6c0ac5862aca0fd732c701a5e687f7 (diff) | |
| download | river-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.zig | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 { |
