From def8eaaa710a25d3d8bc5e2e7c48bfb6532c1bf0 Mon Sep 17 00:00:00 2001 From: coolsnowwolf Date: Thu, 14 Sep 2017 22:26:21 +0800 Subject: [PATCH] fix vsftpd-alt compilation error on x86 --- package/lean/vsftpd-alt/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package/lean/vsftpd-alt/Makefile b/package/lean/vsftpd-alt/Makefile index 3978447a6..d94026d85 100644 --- a/package/lean/vsftpd-alt/Makefile +++ b/package/lean/vsftpd-alt/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=vsftpd-alt PKG_VERSION:=3.0.3 -PKG_RELEASE:=3 +PKG_RELEASE:=5 PKG_SOURCE:=vsftpd-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://security.appspot.com/downloads/ @@ -55,6 +55,8 @@ else NLSSTRING:=-lcrypt -lnsl endif +TARGET_CFLAGS += -D_GNU_SOURCE -include fcntl.h + #ifdef CONFIG_PACKAGE_libpam # EXTRA_LDFLAGS += -lpam #endif