diff options
author | Mike Holmes <mike.holmes@linaro.org> | 2016-01-27 15:53:28 -0500 |
---|---|---|
committer | Maxim Uvarov <maxim.uvarov@linaro.org> | 2016-01-28 14:38:22 +0300 |
commit | 2036cca782361cdc44fb00b8550e26fa9879cc9e (patch) | |
tree | 0bc7dbc1471d0859ca830e0db683517976cba998 | |
parent | 361e77178df28f42e0ace785e3e45ba612b0e466 (diff) |
linux-generic: remove direct include of endian.h from byteorder.h
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>
Reviewed-and-tested-by: Bill Fischofer <bill.fischofer@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
-rw-r--r-- | platform/linux-generic/include/odp/byteorder.h | 2 | ||||
-rw-r--r-- | 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 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> |