aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/ecryptfs-utils/fix-headers.patch
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/ecryptfs-utils/fix-headers.patch')
-rw-r--r--unmaintained/ecryptfs-utils/fix-headers.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/unmaintained/ecryptfs-utils/fix-headers.patch b/unmaintained/ecryptfs-utils/fix-headers.patch
new file mode 100644
index 0000000000..eb2ca3ec44
--- /dev/null
+++ b/unmaintained/ecryptfs-utils/fix-headers.patch
@@ -0,0 +1,28 @@
+--- a/src/utils/mount.ecryptfs.c.orig
++++ b/src/utils/mount.ecryptfs.c
+@@ -24,7 +24,6 @@
+ #include <errno.h>
+ #include <fcntl.h>
+ #include <getopt.h>
+-#include <keyutils.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
+@@ -34,6 +33,7 @@
+ #include <sys/stat.h>
+ #include <sys/types.h>
+ #include <sys/wait.h>
++#include <keyutils.h>
+ #include "ecryptfs.h"
+ #include "decision_graph.h"
+ #include "io.h"
+--- a/src/utils/mount.ecryptfs_private.c.orig
++++ b/src/utils/mount.ecryptfs_private.c
+@@ -30,6 +30,7 @@
+ #include <sys/param.h>
+ #include <sys/stat.h>
+ #include <sys/types.h>
++#include <fcntl.h>
+ #include <ctype.h>
+ #include <errno.h>
+ #include <keyutils.h>