]> granicus.if.org Git - cronie/commitdiff
Fix missing includes for selinux and other types.
authorTomas Mraz <tmraz@fedoraproject.org>
Tue, 27 Nov 2012 08:50:49 +0000 (09:50 +0100)
committerTomas Mraz <tmraz@fedoraproject.org>
Tue, 27 Nov 2012 08:51:36 +0000 (09:51 +0100)
src/funcs.h
src/security.c
src/structs.h

index d16d40e4017d36294cdcd5c7b3a06f1b771a29d0..efd58fbc4d66dcdeb846a4ae7c5d29991ccc9bea 100644 (file)
 #define CRONIE_FUNCS_H
 
 #include <stdio.h>
+#include <sys/types.h>
+
+#ifdef WITH_SELINUX
+#include <selinux/selinux.h>
+#endif
 
 #include "externs.h"
 #include "structs.h"
index 98fd388d765535a397f5f74c02a0f3cf8a230eda..7639891889f50e4954a7db117f9c63d2927b1393 100644 (file)
@@ -26,6 +26,8 @@
 #include <pwd.h>
 #include <sys/types.h>
 #include <unistd.h>
+#include <stdlib.h>
+#include <string.h>
 
 #include "funcs.h"
 #include "globals.h"
index 99d050e16f94c12256230b46be74031a497b20fc..200d20d95c36b415c0079df26ed5cfa27de6821a 100644 (file)
 #define CRONIE_STRUCTS_H
 
 #include <time.h>
+#include <sys/types.h>
+#ifdef WITH_SELINUX
+#include <selinux/selinux.h>
+#endif
 #include "macros.h"
 #include "bitstring.h"