aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/ecryptfs-utils/fix-headers.patch
blob: eb2ca3ec44ab46d62bae843e965c4843567d3677 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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>