aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/c.zig2
1 files changed, 2 insertions, 0 deletions
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 <https://www.gnu.org/licenses/>.
pub usingnamespace @cImport({
+ @cDefine("_POSIX_C_SOURCE", "200809L");
@cDefine("WLR_USE_UNSTABLE", {});
+
@cInclude("time.h");
@cInclude("stdlib.h");
@cInclude("wayland-server-core.h");