diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-07-11 16:13:13 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-07-11 16:13:13 +0200 |
commit | 6017365a1d0c1c78fc34a7da63768ee5df5da511 (patch) | |
tree | 2ba896acf1a644c928b5c96f5ec534b455aab2ff | |
parent | 4f4b92ba7ae9c56cb0f181d5f95d709e085b8bd5 (diff) |
endian: explicitly include endian.h wherever we want to use __BYTE_ORDER
-rw-r--r-- | src/libsystemd/sd-bus/bus-protocol.h | 1 | ||||
-rw-r--r-- | src/shared/architecture.h | 2 | ||||
-rw-r--r-- | src/shared/gpt.h | 2 |
3 files changed, 5 insertions, 0 deletions
diff --git a/src/libsystemd/sd-bus/bus-protocol.h b/src/libsystemd/sd-bus/bus-protocol.h index 5046d17a10..4f4646883c 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 <http://www.gnu.org/licenses/>. ***/ +#include <endian.h> /* Endianness */ diff --git a/src/shared/architecture.h b/src/shared/architecture.h index 58e97e5744..38780d1601 100644 --- a/src/shared/architecture.h +++ b/src/shared/architecture.h @@ -21,6 +21,8 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>. ***/ +#include <endian.h> + #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 278940bf03..ef3444f6ea 100644 --- a/src/shared/gpt.h +++ b/src/shared/gpt.h @@ -19,6 +19,8 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>. ***/ +#include <endian.h> + #include "sd-id128.h" /* We only support root disk discovery for x86, x86-64 and ARM for |