[PATCH v4 04/15] runner: Include local igt_glib header for Android
Zbigniew Kempczyński
zbigniew.kempczynski at intel.com
Wed May 14 11:57:46 UTC 2025
On Wed, May 07, 2025 at 04:01:37PM +0000, Jeevaka Prabu Badrappan wrote:
> Signed-off-by: Jeevaka Prabu Badrappan <jeevaka.badrappan at intel.com>
> ---
> runner/executor.c | 4 ++++
> runner/settings.h | 4 ++++
> 2 files changed, 8 insertions(+)
>
> diff --git a/runner/executor.c b/runner/executor.c
> index 41f521e56..7be02cea1 100644
> --- a/runner/executor.c
> +++ b/runner/executor.c
> @@ -1,7 +1,11 @@
> #include <ctype.h>
> #include <errno.h>
> #include <fcntl.h>
> +#ifndef ANDROID
> #include <glib.h>
> +#else
> +#include "igt_glib.h"
> +#endif
With comment from first patch addressed:
Acked-by: Zbigniew Kempczyński <zbigniew.kempczynski at intel.com>
--
Zbigniew
> #ifdef __linux__
> #include <linux/watchdog.h>
> #endif
> diff --git a/runner/settings.h b/runner/settings.h
> index 1f0b85318..36a69036c 100644
> --- a/runner/settings.h
> +++ b/runner/settings.h
> @@ -5,7 +5,11 @@
> #include <stddef.h>
> #include <sys/types.h>
> #include <stdio.h>
> +#ifndef ANDROID
> #include <glib.h>
> +#else
> +#include "igt_glib.h"
> +#endif
>
> #include "igt_list.h"
> #include "igt_vec.h"
> --
> 2.34.1
>
More information about the igt-dev
mailing list