From cb7e87a7889c8ee3f33db43dc2f5653385dc9e29 Mon Sep 17 00:00:00 2001 From: dacctal Date: Mon, 25 May 2026 04:25:14 +0000 Subject: fixed posix compatibility issues --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 192326e..0926d77 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ PREFIX ?= /usr/local OBJDIR = obj SRCS = $(wildcard src/*.c) OBJS = $(SRCS:src/%.c=$(OBJDIR)/%.o) -CFLAGS += $(shell pkg-config --cflags luajit) -I./include -Wno-format-truncation -std=c99 -D_POSIX_C_SOURCE=200112L +CFLAGS += $(shell pkg-config --cflags luajit) -I./include -Wno-format-truncation -std=c99 -D_XOPEN_SOURCE=700 default: pkgit -- cgit v1.2.3