summaryrefslogtreecommitdiffstats
path: root/main/vsftpd/vsftpd-gnu-source.patch
blob: a7f09d3912fc41a7035bf02983e33609e27e8802 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- ./seccompsandbox.c.orig
+++ ./seccompsandbox.c
@@ -12,6 +12,9 @@
 
 #if defined(__linux__) && defined(__x86_64__)
 
+/* for O_DIRECTORY */
+#define _GNU_SOURCE
+
 #include "session.h"
 #include "sysutil.h"
 #include "tunables.h"