[igt-dev] [PATCH i-g-t 04/10] Include <sys/syscall.h> for FreeBSD systems
Kamil Konieczny
kamil.konieczny at linux.intel.com
Fri Oct 7 10:53:10 UTC 2022
Hi Jake,
On 2022-10-06 at 23:07:12 -0500, Jake Freeland wrote:
please put commit message here.
With that fixed you can add my r-b,
Regards,
Kamil
> Signed-off-by: Jake Freeland <jfree at freebsd.org>
> ---
> lib/igt_aux.h | 2 +-
> lib/igt_core.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/lib/igt_aux.h b/lib/igt_aux.h
> index c8d487b6..c98cf28f 100644
> --- a/lib/igt_aux.h
> +++ b/lib/igt_aux.h
> @@ -34,7 +34,7 @@
> #include <sys/time.h>
> #include <sys/types.h>
> #include <unistd.h>
> -#ifdef __linux__
> +#if defined(__linux__) || defined(__FreeBSD__)
> # include <sys/syscall.h>
> #endif
>
> diff --git a/lib/igt_core.c b/lib/igt_core.c
> index 2aee0d08..aad7b6d8 100644
> --- a/lib/igt_core.c
> +++ b/lib/igt_core.c
> @@ -43,7 +43,7 @@
> #include <unistd.h>
> #include <sys/wait.h>
> #include <sys/types.h>
> -#ifdef __linux__
> +#if defined(__linux__) || defined(__FreeBSD__)
> #include <sys/syscall.h>
> #endif
> #include <pthread.h>
> --
> 2.37.3
>
More information about the igt-dev
mailing list