summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>2015-02-10 12:56:53 +0100
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>2015-02-12 20:44:32 +0100
commitc1ff5570f4a04bb9aedea444c12dce81679224ec (patch)
tree57a32227b50c451f6365a88e3994a23867039c17 /src/core
parent76f282c636f33b41bdbc93a5b2945945ee0029bf (diff)
Add missing includes in header files
This fixes various issues found by globally reordering the include sections of all .c files.
Diffstat (limited to 'src/core')
-rw-r--r--src/core/cgroup.h3
-rw-r--r--src/core/execute.h1
-rw-r--r--src/core/path.h1
-rw-r--r--src/core/unit.h2
4 files changed, 6 insertions, 1 deletions
diff --git a/src/core/cgroup.h b/src/core/cgroup.h
index 7150e5e7e2..8fa851de32 100644
--- a/src/core/cgroup.h
+++ b/src/core/cgroup.h
@@ -21,7 +21,10 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
+#include <stdbool.h>
+
#include "list.h"
+#include "time-util.h"
typedef struct CGroupContext CGroupContext;
typedef struct CGroupDeviceAllow CGroupDeviceAllow;
diff --git a/src/core/execute.h b/src/core/execute.h
index 153867c7b3..6e0c9faa75 100644
--- a/src/core/execute.h
+++ b/src/core/execute.h
@@ -199,6 +199,7 @@ struct ExecContext {
};
#include "cgroup.h"
+#include "cgroup-util.h"
struct ExecParameters {
char **argv;
diff --git a/src/core/path.h b/src/core/path.h
index d2e91d7d71..0d36aab960 100644
--- a/src/core/path.h
+++ b/src/core/path.h
@@ -22,6 +22,7 @@
***/
typedef struct Path Path;
+typedef struct PathSpec PathSpec;
#include "unit.h"
#include "mount.h"
diff --git a/src/core/unit.h b/src/core/unit.h
index 53b8a7f66b..291bc77a76 100644
--- a/src/core/unit.h
+++ b/src/core/unit.h
@@ -259,8 +259,8 @@ typedef enum UnitSetPropertiesMode {
#include "automount.h"
#include "swap.h"
#include "timer.h"
-#include "path.h"
#include "slice.h"
+#include "path.h"
#include "scope.h"
struct UnitVTable {