From d1e35c9573c0a6055a22072aed23c478151be133 Mon Sep 17 00:00:00 2001 From: "E. Westbrook" Date: Tue, 19 Feb 2019 04:02:37 -0700 Subject: [PATCH] src/makefile: define UNIX_HAS_SUN_LEN for FreeBSD builds --- src/makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/makefile b/src/makefile index 1ed3f4f..0f4b359 100644 --- a/src/makefile +++ b/src/makefile @@ -181,7 +181,7 @@ SOCKET_linux=usocket.o SO_freebsd=so O_freebsd=o CC_freebsd=gcc -DEF_freebsd=-DLUASOCKET_$(DEBUG) \ +DEF_freebsd=-DLUASOCKET_$(DEBUG) -DUNIX_HAS_SUN_LEN \ -DLUASOCKET_API='__attribute__((visibility("default")))' \ -DUNIX_API='__attribute__((visibility("default")))' \ -DMIME_API='__attribute__((visibility("default")))' @@ -360,7 +360,7 @@ linux: mingw: $(MAKE) all PLAT=mingw - + solaris: $(MAKE) all-unix PLAT=solaris