Re: [PATCH 3/4] configure: Add a proper check for sys/ioccom.h and use it in tpm_ioctl.h

2020-11-15 Thread Thomas Huth
On 15/11/2020 15.34, Paolo Bonzini wrote: > On 15/11/20 15:00, Thomas Huth wrote: >> On 14/11/2020 17.56, 罗勇刚(Yonggang Luo) wrote: >>> Can we check this in meson.build? >> >> That would be nicer, indeed, but I did not spot a place where I could add my >> code there ... all the other HAVE_xxx_H symb

Re: [PATCH 3/4] configure: Add a proper check for sys/ioccom.h and use it in tpm_ioctl.h

2020-11-15 Thread Paolo Bonzini
On 15/11/20 15:00, Thomas Huth wrote: On 14/11/2020 17.56, 罗勇刚(Yonggang Luo) wrote: Can we check this in meson.build? That would be nicer, indeed, but I did not spot a place where I could add my code there ... all the other HAVE_xxx_H symbols are added in the configure script. There is one s

Re: [PATCH 3/4] configure: Add a proper check for sys/ioccom.h and use it in tpm_ioctl.h

2020-11-15 Thread Thomas Huth
On 14/11/2020 17.56, 罗勇刚(Yonggang Luo) wrote: > Can we check this in meson.build? That would be nicer, indeed, but I did not spot a place where I could add my code there ... all the other HAVE_xxx_H symbols are added in the configure script. Maybe Paolo or Marc-André (now on CC:) have an idea whet

Re: [PATCH 3/4] configure: Add a proper check for sys/ioccom.h and use it in tpm_ioctl.h

2020-11-14 Thread Stefan Berger
On 11/14/20 11:51 AM, Thomas Huth wrote: On Solaris and Haiku, the _IO() macros are defined in . Add a proper check for this header to our configure scripts, 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 Reviewed-by:

Re: [PATCH 3/4] configure: Add a proper check for sys/ioccom.h and use it in tpm_ioctl.h

2020-11-14 Thread Yonggang Luo
Can we check this in meson.build? On Sun, Nov 15, 2020 at 12:53 AM Thomas Huth wrote: > > On Solaris and Haiku, the _IO() macros are defined in . > Add a proper check for this header to our configure scripts, and > make sure to include the header in tpm_ioctl.h to fix a build failure > on Solaris

[PATCH 3/4] configure: Add a proper check for sys/ioccom.h and use it in tpm_ioctl.h

2020-11-14 Thread Thomas Huth
On Solaris and Haiku, the _IO() macros are defined in . Add a proper check for this header to our configure scripts, 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 --- backends/tpm/tpm_ioctl.h | 4 configure