vsftpd: Fix vsftpd compilation error for x86 3655/head
authorAlex Nikitenko <alex.nikitenko@sirinsoftware.com>
Tue, 20 Dec 2016 16:31:00 +0000 (18:31 +0200)
committerAlex Nikitenko <alex.nikitenko@sirinsoftware.com>
Tue, 20 Dec 2016 16:31:26 +0000 (18:31 +0200)
Signed-off-by: Alex Nikitenko <alex.nikitenko@sirinsoftware.com>
net/vsftpd/Makefile

index da50698818aa5dc9eedd397885d7756733dbceda..d85dc70e40067e6eda11d2efa0da1198ec9ea215 100644 (file)
@@ -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