[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 3/4] configure: Add a proper check for sys/ioccom.h and us
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH v2 3/4] configure: Add a proper check for sys/ioccom.h and use it in tpm_ioctl.h |
Date: |
Mon, 16 Nov 2020 12:51:14 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 |
On 11/15/20 4:23 PM, Thomas Huth wrote:
> On Solaris and Haiku, the _IO() macros are defined in <sys/ioccom.h>.
> Add a proper check for this header to our build system, and make sure
> to include the header in tpm_ioctl.h to fix a build failure on Solaris
> and Haiku.
>
> Signed-off-by: Thomas Huth <thuth@redhat.com>
> ---
> v2: Check in meson.build instead of using the configure script
>
> backends/tpm/tpm_ioctl.h | 4 ++++
> meson.build | 2 ++
> nbd/nbd-internal.h | 2 +-
> 3 files changed, 7 insertions(+), 1 deletion(-)
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
[PATCH 4/4] tests/vm: Add Haiku test based on their vagrant images, Thomas Huth, 2020/11/14