aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authordacctal <dacctal@symlinx.net>2026-05-25 04:25:14 +0000
committerdacctal <dacctal@symlinx.net>2026-05-25 04:25:14 +0000
commitcb7e87a7889c8ee3f33db43dc2f5653385dc9e29 (patch)
treebdef02e142352ee8c1cb7c6f80214dd97da5d30b /Makefile
parent013b7f659985b540e549599ed2e17adb9c81d858 (diff)
fixed posix compatibility issues
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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