diff options
author | BlackNoxis <steven.darklight@gmail.com> | 2015-05-14 21:56:37 +0300 |
---|---|---|
committer | BlackNoxis <steven.darklight@gmail.com> | 2015-05-14 21:56:37 +0300 |
commit | 95386d5e3e81550bb2541f876faa174814383336 (patch) | |
tree | b61783698018975bf49709e9eec5eb5316279e0a /sys-apps/systemd/files/215-0002-endian-explicitly-include-endian.h-wherever-we-want-.patch | |
parent | 4fbb9ca1e274fc52b48fab928bf78fe40dc21ebc (diff) | |
parent | 2a0eb3310cd466de041bca720e1f7c0b1689a985 (diff) |
Merge recent changes of github.com:Rogentos/kogaion-desktop
Diffstat (limited to 'sys-apps/systemd/files/215-0002-endian-explicitly-include-endian.h-wherever-we-want-.patch')
-rw-r--r-- | sys-apps/systemd/files/215-0002-endian-explicitly-include-endian.h-wherever-we-want-.patch | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/sys-apps/systemd/files/215-0002-endian-explicitly-include-endian.h-wherever-we-want-.patch b/sys-apps/systemd/files/215-0002-endian-explicitly-include-endian.h-wherever-we-want-.patch new file mode 100644 index 00000000..71acac1b --- /dev/null +++ b/sys-apps/systemd/files/215-0002-endian-explicitly-include-endian.h-wherever-we-want-.patch @@ -0,0 +1,53 @@ +From 2281422746c00d2803911f2b4699eee6bc87ee04 Mon Sep 17 00:00:00 2001 +From: Lennart Poettering <lennart@poettering.net> +Date: Fri, 11 Jul 2014 16:13:13 +0200 +Subject: [PATCH 2/2] endian: explicitly include endian.h wherever we want to + use __BYTE_ORDER + +--- + src/libsystemd/sd-bus/bus-protocol.h | 1 + + src/shared/architecture.h | 2 ++ + src/shared/gpt.h | 2 ++ + 3 files changed, 5 insertions(+) + +diff --git a/src/libsystemd/sd-bus/bus-protocol.h b/src/libsystemd/sd-bus/bus-protocol.h +index 5046d17..4f46468 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 58e97e5..38780d1 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 278940b..ef3444f 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 +-- +1.8.5.5 + |