git.lucas.co / cce-compositor
Wayland compositor (wlroots)
git clone https://git.lucas.co/cce-compositor.git

commita7ff59a2bae65a921edf3731856fa6204eef5848
parentf9c0b851de
authorIsaac Freund <[email protected]>
date2020-05-30 15:44
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 <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");