summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/btrfs-ctree.h1
-rw-r--r--src/shared/clock-util.h2
-rw-r--r--src/shared/env-util.h2
-rw-r--r--src/shared/ptyfwd.h2
-rw-r--r--src/shared/uid-range.h1
5 files changed, 8 insertions, 0 deletions
diff --git a/src/shared/btrfs-ctree.h b/src/shared/btrfs-ctree.h
index 7bdf3fe139..8b6f1ab4f4 100644
--- a/src/shared/btrfs-ctree.h
+++ b/src/shared/btrfs-ctree.h
@@ -2,6 +2,7 @@
#pragma once
+#include "macro.h"
#include "sparse-endian.h"
/* Stolen from btrfs' ctree.h */
diff --git a/src/shared/clock-util.h b/src/shared/clock-util.h
index 7ed371a958..198a7b2753 100644
--- a/src/shared/clock-util.h
+++ b/src/shared/clock-util.h
@@ -21,6 +21,8 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
+#include "util.h"
+
int clock_is_localtime(void);
int clock_set_timezone(int *min);
int clock_reset_timewarp(void);
diff --git a/src/shared/env-util.h b/src/shared/env-util.h
index fb3a52b707..618441a655 100644
--- a/src/shared/env-util.h
+++ b/src/shared/env-util.h
@@ -24,6 +24,8 @@
#include <stdbool.h>
#include <sys/types.h>
+#include "macro.h"
+
bool env_name_is_valid(const char *e);
bool env_value_is_valid(const char *e);
bool env_assignment_is_valid(const char *e);
diff --git a/src/shared/ptyfwd.h b/src/shared/ptyfwd.h
index d65b66a3d0..d3e229bd70 100644
--- a/src/shared/ptyfwd.h
+++ b/src/shared/ptyfwd.h
@@ -23,7 +23,9 @@
#include <sys/types.h>
#include <signal.h>
+#include <stdbool.h>
+#include "util.h"
#include "sd-event.h"
typedef struct PTYForward PTYForward;
diff --git a/src/shared/uid-range.h b/src/shared/uid-range.h
index d3dac8df63..45335e939f 100644
--- a/src/shared/uid-range.h
+++ b/src/shared/uid-range.h
@@ -21,6 +21,7 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
+#include <stdbool.h>
#include <sys/types.h>
typedef struct UidRange {