chiark / gitweb /
endian: explicitly include endian.h wherever we want to use __BYTE_ORDER
authorLennart Poettering <lennart@poettering.net>
Fri, 11 Jul 2014 14:13:13 +0000 (16:13 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 11 Jul 2014 14:13:13 +0000 (16:13 +0200)
src/libsystemd/sd-bus/bus-protocol.h
src/shared/architecture.h
src/shared/gpt.h

index 5046d17a103fe217ad1b0cbe2628bb1080c1b321..4f4646883c4e0e196d1f2abf0b5b3cdbd8571c1c 100644 (file)
@@ -21,6 +21,7 @@
   along with systemd; If not, see <http://www.gnu.org/licenses/>.
 ***/
 
+#include <endian.h>
 
 /* Endianness */
 
index 58e97e5744b44e63bf3c1f057f90bdcca3bc79e4..38780d1601f9d1fcd32edf15540e4e00d9964cf2 100644 (file)
@@ -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
index 278940bf03257993b2799d6bc8a3b55464216fb8..ef3444f6eaffccb3ba60be00d2a625b05811ab68 100644 (file)
@@ -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