From: Alex Nikitenko Date: Tue, 20 Dec 2016 16:31:00 +0000 (+0200) Subject: vsftpd: Fix vsftpd compilation error for x86 X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=beab35d11311140beb3825b6c447fa287b92ca60;p=openwrt-packages.git vsftpd: Fix vsftpd compilation error for x86 Signed-off-by: Alex Nikitenko --- diff --git a/net/vsftpd/Makefile b/net/vsftpd/Makefile index da5069881..d85dc70e4 100644 --- a/net/vsftpd/Makefile +++ b/net/vsftpd/Makefile @@ -55,6 +55,8 @@ else NLSSTRING:=-lcrypt -lnsl endif +TARGET_CFLAGS += -D_GNU_SOURCE -include fcntl.h + ifeq ($(BUILD_VARIANT),notls) define Build/Compile $(SED) 's/-lcrypt -lnsl/$(NLSSTRING)/' $(PKG_BUILD_DIR)/Makefile