From c1ff5570f4a04bb9aedea444c12dce81679224ec Mon Sep 17 00:00:00 2001 From: Thomas Hindoe Paaboel Andersen Date: Tue, 10 Feb 2015 12:56:53 +0100 Subject: Add missing includes in header files This fixes various issues found by globally reordering the include sections of all .c files. --- src/core/cgroup.h | 3 +++ src/core/execute.h | 1 + src/core/path.h | 1 + src/core/unit.h | 2 +- 4 files changed, 6 insertions(+), 1 deletion(-) (limited to 'src/core') 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 . ***/ +#include + #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 { -- cgit v1.2.3-54-g00ecf