aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--platform/linux-generic/include/odp/byteorder.h2
-rw-r--r--platform/linux-generic/include/odp/std_types.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/platform/linux-generic/include/odp/byteorder.h b/platform/linux-generic/include/odp/byteorder.h
index 173b0475..7fc7dc51 100644
--- a/platform/linux-generic/include/odp/byteorder.h
+++ b/platform/linux-generic/include/odp/byteorder.h
@@ -17,8 +17,6 @@
extern "C" {
#endif
-#include <endian.h>
-#include <asm/byteorder.h>
#include <odp/plat/byteorder_types.h>
#include <odp/std_types.h>
#include <odp/compiler.h>
diff --git a/platform/linux-generic/include/odp/std_types.h b/platform/linux-generic/include/odp/std_types.h
index cb30bfcd..56b5a4ee 100644
--- a/platform/linux-generic/include/odp/std_types.h
+++ b/platform/linux-generic/include/odp/std_types.h
@@ -17,6 +17,8 @@
extern "C" {
#endif
+#include <endian.h>
+#include <asm/byteorder.h>
#include <stdlib.h>
#include <stdint.h>
#include <stddef.h>