diff mbox

[3/3] linux-generic: remove direct include of endian.h from byteorder.h

Message ID 1453928008-4150-3-git-send-email-mike.holmes@linaro.org
State Accepted
Commit 2036cca782361cdc44fb00b8550e26fa9879cc9e
Headers show

Commit Message

Mike Holmes Jan. 27, 2016, 8:53 p.m. UTC
byteorder.h should include odp/std_types.h in line with the precedent
set by the other headers.

Signed-off-by: Mike Holmes <mike.holmes@linaro.org>
---
 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 mbox

Patch

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>