From: Lennart Poettering Date: Fri, 11 Jul 2014 14:13:13 +0000 (+0200) Subject: endian: explicitly include endian.h wherever we want to use __BYTE_ORDER X-Git-Tag: v216~656 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=6017365a1d0c1c78fc34a7da63768ee5df5da511 endian: explicitly include endian.h wherever we want to use __BYTE_ORDER --- diff --git a/src/libsystemd/sd-bus/bus-protocol.h b/src/libsystemd/sd-bus/bus-protocol.h index 5046d17a1..4f4646883 100644 --- a/src/libsystemd/sd-bus/bus-protocol.h +++ b/src/libsystemd/sd-bus/bus-protocol.h @@ -21,6 +21,7 @@ along with systemd; If not, see . ***/ +#include /* Endianness */ diff --git a/src/shared/architecture.h b/src/shared/architecture.h index 58e97e574..38780d160 100644 --- a/src/shared/architecture.h +++ b/src/shared/architecture.h @@ -21,6 +21,8 @@ along with systemd; If not, see . ***/ +#include + #include "util.h" /* A cleaned up architecture definition. We don't want to get lost in diff --git a/src/shared/gpt.h b/src/shared/gpt.h index 278940bf0..ef3444f6e 100644 --- a/src/shared/gpt.h +++ b/src/shared/gpt.h @@ -19,6 +19,8 @@ along with systemd; If not, see . ***/ +#include + #include "sd-id128.h" /* We only support root disk discovery for x86, x86-64 and ARM for