summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/architecture.h2
-rw-r--r--src/shared/gpt.h2
2 files changed, 4 insertions, 0 deletions
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