summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-12-17 03:54:14 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-12-17 03:54:14 -0500
commitbabd187090b2bc5dc74e78911976d028a07d39d8 (patch)
treeb470c876e0d91deb3c7b76cd844496828e6ad707 /src
parentb849891b5dde5ee14ab8b7b7db74e65a4a38d993 (diff)
fix headers
Diffstat (limited to 'src')
-rw-r--r--src/grp-resolve/systemd-resolved/resolved-dns-server.h6
-rw-r--r--src/grp-system/libcore/include/core/mount.h1
-rw-r--r--src/grp-system/libcore/src/dbus-automount.h2
-rw-r--r--src/grp-system/libcore/src/linux/auto_dev-ioctl.h1
-rw-r--r--src/libsystemd-basic/include/systemd-basic/proc-cmdline.h2
5 files changed, 9 insertions, 3 deletions
diff --git a/src/grp-resolve/systemd-resolved/resolved-dns-server.h b/src/grp-resolve/systemd-resolved/resolved-dns-server.h
index 83d0d23bb4..299beecefe 100644
--- a/src/grp-resolve/systemd-resolved/resolved-dns-server.h
+++ b/src/grp-resolve/systemd-resolved/resolved-dns-server.h
@@ -39,9 +39,6 @@ typedef enum DnsServerFeatureLevel {
const char* dns_server_feature_level_to_string(int i) _const_;
int dns_server_feature_level_from_string(const char *s) _pure_;
-#include "resolved-link.h"
-#include "resolved-manager.h"
-
typedef enum DnsServerType {
DNS_SERVER_SYSTEM,
DNS_SERVER_FALLBACK,
@@ -49,6 +46,9 @@ typedef enum DnsServerType {
} DnsServerType;
#define _DNS_SERVER_TYPE_MAX (DNS_SERVER_LINK + 1)
+#include "resolved-link.h"
+#include "resolved-manager.h"
+
const char* dns_server_type_to_string(DnsServerType i) _const_;
DnsServerType dns_server_type_from_string(const char *s) _pure_;
diff --git a/src/grp-system/libcore/include/core/mount.h b/src/grp-system/libcore/include/core/mount.h
index 148fedf354..7e200e418e 100644
--- a/src/grp-system/libcore/include/core/mount.h
+++ b/src/grp-system/libcore/include/core/mount.h
@@ -21,6 +21,7 @@
typedef struct Mount Mount;
+#include "cgroup.h"
#include "dynamic-user.h"
#include "kill.h"
diff --git a/src/grp-system/libcore/src/dbus-automount.h b/src/grp-system/libcore/src/dbus-automount.h
index 34caf6fc4c..5131d747d4 100644
--- a/src/grp-system/libcore/src/dbus-automount.h
+++ b/src/grp-system/libcore/src/dbus-automount.h
@@ -21,6 +21,8 @@
#include <systemd/sd-bus.h>
+#include "core/unit.h"
+
extern const sd_bus_vtable bus_automount_vtable[];
int bus_automount_set_property(Unit *u, const char *name, sd_bus_message *message, UnitSetPropertiesMode mode, sd_bus_error *error);
diff --git a/src/grp-system/libcore/src/linux/auto_dev-ioctl.h b/src/grp-system/libcore/src/linux/auto_dev-ioctl.h
index aeaeb3ea7a..56ab047141 100644
--- a/src/grp-system/libcore/src/linux/auto_dev-ioctl.h
+++ b/src/grp-system/libcore/src/linux/auto_dev-ioctl.h
@@ -10,6 +10,7 @@
#ifndef _LINUX_AUTO_DEV_IOCTL_H
#define _LINUX_AUTO_DEV_IOCTL_H
+#include <linux/limits.h>
#include <linux/auto_fs.h>
#ifdef __KERNEL__
diff --git a/src/libsystemd-basic/include/systemd-basic/proc-cmdline.h b/src/libsystemd-basic/include/systemd-basic/proc-cmdline.h
index 6d6ee95c11..5419d71dc7 100644
--- a/src/libsystemd-basic/include/systemd-basic/proc-cmdline.h
+++ b/src/libsystemd-basic/include/systemd-basic/proc-cmdline.h
@@ -19,6 +19,8 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
+#include <stdbool.h>
+
int proc_cmdline(char **ret);
int parse_proc_cmdline(int (*parse_item)(const char *key, const char *value, void *data),
void *data,