timer.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/std_types.h | 1 +
 platform/linux-generic/include/odp/timer.h     | 1 -
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/platform/linux-generic/include/odp/std_types.h 
b/platform/linux-generic/include/odp/std_types.h
index f509243..cb30bfc 100644
--- a/platform/linux-generic/include/odp/std_types.h
+++ b/platform/linux-generic/include/odp/std_types.h
@@ -17,6 +17,7 @@
 extern "C" {
 #endif
 
+#include <stdlib.h>
 #include <stdint.h>
 #include <stddef.h>
 #include <stdbool.h>
diff --git a/platform/linux-generic/include/odp/timer.h 
b/platform/linux-generic/include/odp/timer.h
index af9b140..3e9cd4e 100644
--- a/platform/linux-generic/include/odp/timer.h
+++ b/platform/linux-generic/include/odp/timer.h
@@ -17,7 +17,6 @@
 extern "C" {
 #endif
 
-#include <stdlib.h>
 #include <odp/std_types.h>
 #include <odp/plat/event_types.h>
 #include <odp/plat/pool_types.h>
-- 
2.5.0

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

Reply via email to