summaryrefslogtreecommitdiff
blob: cdcb65ad822d2e367869f4c82e2a0badef526964 (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
--- a/src/conffile.c
+++ b/src/conffile.c
@@ -22,6 +22,7 @@
 #include <sys/types.h>
 #include <pwd.h>
 #include <grp.h>
+#include <unistd.h>
 
 #include "conffile.h"
 #include "config.h"
--- a/src/luks.c
+++ b/src/luks.c
@@ -13,7 +13,9 @@
 #include "utils.h"
 #include "policy.h"
 #include <stdio.h>
+#include <fcntl.h>
 #include <limits.h>
+#include <unistd.h>
 #include <sys/stat.h>
 #include <libintl.h>
 
--- a/src/policy.c
+++ b/src/policy.c
@@ -13,6 +13,7 @@
 #include "policy.h"
 #include "utils.h"
 
+#include <ctype.h>
 #include <stdio.h>
 #include <string.h>
 #include <unistd.h>
--- a/src/pmount.c
+++ b/src/pmount.c
@@ -29,6 +29,7 @@
 #include "policy.h"
 #include "utils.h"
 #include "luks.h"
+#include "loop.h"
 #include "config.h"
 
 /* Configuration file handling */
--- a/src/policy.c
+++ b/src/policy.c
@@ -33,6 +33,7 @@
 #include <pwd.h>
 #include <utmpx.h>
 
+#include "configuration.h"
 
 /* We use our own safe version of realpath */
 #include "realpath.h"
--- a/src/pumount.c
+++ b/src/pumount.c
@@ -24,6 +24,7 @@
 #include "utils.h"
 #include "luks.h"
 #include "config.h"
+#include "configuration.h"
 
 /* error codes */
 const int E_ARGS = 1;
--- a/tests/test_policy.c
+++ b/tests/test_policy.c
@@ -16,6 +16,7 @@
 #include "policy.h"
 #include "utils.h"
 #include <stdio.h>
+#include <string.h>
 
 int testsFailed = 0;
 int totalTests = 0;
--- a/tests/test_spawn.c
+++ b/tests/test_spawn.c
@@ -12,6 +12,7 @@
 
 
 #include <stdio.h>
+#include <string.h>
 #include <unistd.h>
 #include "utils.h"