From 65c39faa76cb7a711b21e1e54b9e0aa1410e997c Mon Sep 17 00:00:00 2001 From: "@syxhe" Date: Tue, 21 Oct 2025 13:42:46 -0500 Subject: Fix _GNU_SOURCE not being defined --- src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Makefile') diff --git a/src/Makefile b/src/Makefile index de0c9f6..0a72955 100644 --- a/src/Makefile +++ b/src/Makefile @@ -29,7 +29,7 @@ $(TIMESTAMPS): $(TIMESTAMP_DIR)/%.t: %.c | $(TIMESTAMP_DIR) touch $@ main tests: %: %.c $(TIMESTAMPS) - $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) $^ $(LOADLIBES) $(LDLIBS) -o $@ + $(CC) -D_GNU_SOURCE=1 $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) $^ $(LOADLIBES) $(LDLIBS) -o $@ # Phony rules -- cgit v1.2.3