byteorder.h should include odp/std_types.h in line with the precedent
set by the other headers.

Signed-off-by: Mike Holmes <[email protected]>
---
 platform/linux-generic/include/odp/byteorder.h | 2 --
 platform/linux-generic/include/odp/std_types.h | 2 ++
 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 173b047..7fc7dc5 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 cb30bfc..56b5a4e 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>
-- 
2.5.0

_______________________________________________
lng-odp mailing list
[email protected]
https://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to