commit beab35d11311140beb3825b6c447fa287b92ca60
parent 7b812e8fdde595686e49522c46a123346a595631
Author: Alex Nikitenko <alex.nikitenko@sirinsoftware.com>
Date: Tue, 20 Dec 2016 18:31:00 +0200
vsftpd: Fix vsftpd compilation error for x86
Signed-off-by: Alex Nikitenko <alex.nikitenko@sirinsoftware.com>
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git 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