summaryrefslogtreecommitdiff
path: root/src/shared/architecture.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-07-11 16:13:13 +0200
committerLennart Poettering <lennart@poettering.net>2014-07-11 16:13:13 +0200
commit6017365a1d0c1c78fc34a7da63768ee5df5da511 (patch)
tree2ba896acf1a644c928b5c96f5ec534b455aab2ff /src/shared/architecture.h
parent4f4b92ba7ae9c56cb0f181d5f95d709e085b8bd5 (diff)
endian: explicitly include endian.h wherever we want to use __BYTE_ORDER
Diffstat (limited to 'src/shared/architecture.h')
-rw-r--r--src/shared/architecture.h2
1 files changed, 2 insertions, 0 deletions
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 <http://www.gnu.org/licenses/>.
***/
+#include <endian.h>
+
#include "util.h"
/* A cleaned up architecture definition. We don't want to get lost in