diff mbox

linux-generic: timer: add missing queue header

Message ID 1419872035-12731-1-git-send-email-taras.kondratiuk@linaro.org
State Accepted
Commit 930771372cfe6c19c35a2cd14fb4ffbe2dcc84f3
Headers show

Commit Message

Taras Kondratiuk Dec. 29, 2014, 4:53 p.m. UTC
Timer code uses queue API but doesn't include header. The header is
included indirectly from another header just by chance.

Signed-off-by: Taras Kondratiuk <taras.kondratiuk@linaro.org>
---
 platform/linux-generic/odp_timer.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Balasubramanian Manoharan Dec. 30, 2014, 6:01 a.m. UTC | #1
Reviewed-by: Bala Manoharan <bala.manoharan@linaro.org>
On Monday 29 December 2014 10:23 PM, Taras Kondratiuk wrote:
> Timer code uses queue API but doesn't include header. The header is
> included indirectly from another header just by chance.
>
> Signed-off-by: Taras Kondratiuk <taras.kondratiuk@linaro.org>
> ---
>   platform/linux-generic/odp_timer.c | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/platform/linux-generic/odp_timer.c b/platform/linux-generic/odp_timer.c
> index 7bd6874..65b44b9 100644
> --- a/platform/linux-generic/odp_timer.c
> +++ b/platform/linux-generic/odp_timer.c
> @@ -14,6 +14,7 @@
>   #include <odp_spinlock.h>
>   #include <odp_sync.h>
>   #include <odp_debug_internal.h>
> +#include <odp_queue.h>
>   
>   #include <signal.h>
>   #include <time.h>
Maxim Uvarov Dec. 31, 2014, 7:47 a.m. UTC | #2
Merged,

Maxim.

On 12/29/2014 07:53 PM, Taras Kondratiuk wrote:
> Timer code uses queue API but doesn't include header. The header is
> included indirectly from another header just by chance.
>
> Signed-off-by: Taras Kondratiuk <taras.kondratiuk@linaro.org>
> ---
>   platform/linux-generic/odp_timer.c | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/platform/linux-generic/odp_timer.c b/platform/linux-generic/odp_timer.c
> index 7bd6874..65b44b9 100644
> --- a/platform/linux-generic/odp_timer.c
> +++ b/platform/linux-generic/odp_timer.c
> @@ -14,6 +14,7 @@
>   #include <odp_spinlock.h>
>   #include <odp_sync.h>
>   #include <odp_debug_internal.h>
> +#include <odp_queue.h>
>   
>   #include <signal.h>
>   #include <time.h>
diff mbox

Patch

diff --git a/platform/linux-generic/odp_timer.c b/platform/linux-generic/odp_timer.c
index 7bd6874..65b44b9 100644
--- a/platform/linux-generic/odp_timer.c
+++ b/platform/linux-generic/odp_timer.c
@@ -14,6 +14,7 @@ 
 #include <odp_spinlock.h>
 #include <odp_sync.h>
 #include <odp_debug_internal.h>
+#include <odp_queue.h>
 
 #include <signal.h>
 #include <time.h>