From a6f5678088fc02694984a68816a6f3a4a0cc1941 Mon Sep 17 00:00:00 2001
From: Yorhel <git@yorhel.nl>
Date: Tue, 21 Dec 2021 15:18:35 +0100
Subject: [PATCH] ui.zig: Fix typo in setting _XOPEN_SOURCE feature test macro

---
 src/ui.zig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/ui.zig b/src/ui.zig
index c2cfb5c..8401910 100644
--- a/src/ui.zig
+++ b/src/ui.zig
@@ -12,7 +12,7 @@ pub const c = @cImport({
     @cInclude("string.h");
     @cInclude("curses.h");
     @cInclude("time.h");
-    @cDefine("_X_OPEN_SOURCE", "1");
+    @cDefine("_XOPEN_SOURCE", "1");
     @cInclude("wchar.h");
     @cInclude("locale.h");
 });
-- 
GitLab