diff mbox

[2/3] linux-generic: remove direct include of stdlib.h by timer.h

Message ID 1453928008-4150-2-git-send-email-mike.holmes@linaro.org
State Accepted
Commit 361e77178df28f42e0ace785e3e45ba612b0e466
Headers show

Commit Message

Mike Holmes Jan. 27, 2016, 8:53 p.m. UTC
timer.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/std_types.h | 1 +
 platform/linux-generic/include/odp/timer.h     | 1 -
 2 files changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

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>