diff options
author | Thomas Hindoe Paaboel Andersen <phomes@gmail.com> | 2015-02-10 12:56:53 +0100 |
---|---|---|
committer | Thomas Hindoe Paaboel Andersen <phomes@gmail.com> | 2015-02-12 20:44:32 +0100 |
commit | c1ff5570f4a04bb9aedea444c12dce81679224ec (patch) | |
tree | 57a32227b50c451f6365a88e3994a23867039c17 /src/libsystemd | |
parent | 76f282c636f33b41bdbc93a5b2945945ee0029bf (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/libsystemd')
-rw-r--r-- | src/libsystemd/sd-bus/bus-bloom.h | 2 | ||||
-rw-r--r-- | src/libsystemd/sd-bus/bus-gvariant.h | 2 | ||||
-rw-r--r-- | src/libsystemd/sd-bus/bus-type.h | 1 | ||||
-rw-r--r-- | src/libsystemd/sd-bus/busctl-introspect.h | 1 |
4 files changed, 6 insertions, 0 deletions
diff --git a/src/libsystemd/sd-bus/bus-bloom.h b/src/libsystemd/sd-bus/bus-bloom.h index 0dad5db78d..96c82d7e8f 100644 --- a/src/libsystemd/sd-bus/bus-bloom.h +++ b/src/libsystemd/sd-bus/bus-bloom.h @@ -21,6 +21,8 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>. ***/ +#include <stdbool.h> +#include <stdint.h> #include <sys/types.h> /* diff --git a/src/libsystemd/sd-bus/bus-gvariant.h b/src/libsystemd/sd-bus/bus-gvariant.h index b4bd2a50f0..fdf533591b 100644 --- a/src/libsystemd/sd-bus/bus-gvariant.h +++ b/src/libsystemd/sd-bus/bus-gvariant.h @@ -21,6 +21,8 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>. ***/ +#include "macro.h" + int bus_gvariant_get_size(const char *signature) _pure_; int bus_gvariant_get_alignment(const char *signature) _pure_; int bus_gvariant_is_fixed_size(const char *signature) _pure_; diff --git a/src/libsystemd/sd-bus/bus-type.h b/src/libsystemd/sd-bus/bus-type.h index 581e8d5841..0e507839ca 100644 --- a/src/libsystemd/sd-bus/bus-type.h +++ b/src/libsystemd/sd-bus/bus-type.h @@ -23,6 +23,7 @@ #include <stdbool.h> +#include "macro.h" #include "sd-bus.h" #include "sd-bus-protocol.h" diff --git a/src/libsystemd/sd-bus/busctl-introspect.h b/src/libsystemd/sd-bus/busctl-introspect.h index 9bea43717d..d6b4cf05a7 100644 --- a/src/libsystemd/sd-bus/busctl-introspect.h +++ b/src/libsystemd/sd-bus/busctl-introspect.h @@ -22,6 +22,7 @@ ***/ #include <inttypes.h> +#include <stdbool.h> typedef struct XMLIntrospectOps { int (*on_path)(const char *path, void *userdata); |