summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
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 {