From fb67179addf11fd77e14e5e5be80aa1c6a65a8ed Mon Sep 17 00:00:00 2001 From: Someguynamedpie Date: Wed, 27 Mar 2019 19:09:11 -0500 Subject: [PATCH] _GNU_SOURCE definition for SO_*CRED --- src/makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/makefile b/src/makefile index 5a9ba97..a079dd4 100755 --- a/src/makefile +++ b/src/makefile @@ -173,7 +173,7 @@ SOCKET_macosx=usocket.o SO_linux=so O_linux=o CC_linux=gcc -DEF_linux=-DLUASOCKET_$(DEBUG) +DEF_linux=-DLUASOCKET_$(DEBUG) -D_GNU_SOURCE CFLAGS_linux=$(LUAINC:%=-I%) $(DEF) -Wall -Wshadow -Wextra \ -Wimplicit -O2 -ggdb3 -fpic LDFLAGS_linux=-O -shared -fpic -o