The public ODP API should not directly call Linux system headers Signed-off-by: Mike Holmes <mike.hol...@linaro.org> --- platform/linux-generic/include/api/odp_byteorder.h | 1 - platform/linux-generic/include/api/odp_debug.h | 3 +-- platform/linux-generic/include/api/odp_std_types.h | 4 +++- 3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/platform/linux-generic/include/api/odp_byteorder.h b/platform/linux-generic/include/api/odp_byteorder.h index 79ddd75..6834ad9 100644 --- a/platform/linux-generic/include/api/odp_byteorder.h +++ b/platform/linux-generic/include/api/odp_byteorder.h @@ -18,7 +18,6 @@ extern "C" { #endif -#include <endian.h> #include <odp_std_types.h> #include <odp_compiler.h> diff --git a/platform/linux-generic/include/api/odp_debug.h b/platform/linux-generic/include/api/odp_debug.h index 0a20430..dad57a8 100644 --- a/platform/linux-generic/include/api/odp_debug.h +++ b/platform/linux-generic/include/api/odp_debug.h @@ -12,8 +12,7 @@ #ifndef ODP_DEBUG_H_ #define ODP_DEBUG_H_ -#include <stdio.h> -#include <stdlib.h> +#include <odp_std_types.h> #ifdef __cplusplus extern "C" { diff --git a/platform/linux-generic/include/api/odp_std_types.h b/platform/linux-generic/include/api/odp_std_types.h index b12a2f3..af8c35d 100644 --- a/platform/linux-generic/include/api/odp_std_types.h +++ b/platform/linux-generic/include/api/odp_std_types.h @@ -26,7 +26,9 @@ extern "C" { #include <stdint.h> #include <inttypes.h> #include <limits.h> - +#include <endian.h> +#include <stdio.h> +#include <stdlib.h> -- 2.1.0 _______________________________________________ lng-odp mailing list lng-odp@lists.linaro.org http://lists.linaro.org/mailman/listinfo/lng-odp