move _GNU_SOURCE inside source

no point defining it via cflags if we always want to set it
This commit is contained in:
xfnw 2024-05-02 12:25:47 -04:00
parent 59dd92d738
commit 7458a6f5ed
2 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,6 @@
CC = c99
PIXELSIZE ?= 32
CFLAGS ?= -DHAVE_LINUX_SECCOMP_H -D_GNU_SOURCE -DPIXELSIZE=${PIXELSIZE} -O3
CFLAGS ?= -DHAVE_LINUX_SECCOMP_H -DPIXELSIZE=${PIXELSIZE} -O3
all: fbflut

View File

@ -1,3 +1,4 @@
#define _GNU_SOURCE
#include <arpa/inet.h>
#include <fcntl.h>