From 9cd61f75903a83e56538ae3d69e7c2f3d2e6ca10 Mon Sep 17 00:00:00 2001 From: Isaac Freund Date: Sat, 30 May 2020 15:44:48 +0200 Subject: [PATCH] Define _POSIX_C_SOURCE --- src/c.zig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/c.zig b/src/c.zig index f7d6646..df4bcee 100644 --- a/src/c.zig +++ b/src/c.zig @@ -16,7 +16,9 @@ // along with this program. If not, see . pub usingnamespace @cImport({ + @cDefine("_POSIX_C_SOURCE", "200809L"); @cDefine("WLR_USE_UNSTABLE", {}); + @cInclude("time.h"); @cInclude("stdlib.h"); @cInclude("wayland-server-core.h");