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 5046d17..4f46468 100644 (file)
@@ -21,6 +21,7 @@
   along with systemd; If not, see <http://www.gnu.org/licenses/>.
 ***/
 
+#include <endian.h>
 
 /* Endianness */
 
index 58e97e5..38780d1 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 278940b..ef3444f 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