swtpm/include/swtpm
Stefan Berger f4cdeb61b9 build-sys: Define __USE_LINUX_IOCTL_DEFS in header file (Cygwin)
To be able to test-compile with include/swtpm/tpm_ioctl.h in configure.ac
move the definition of __USE_LINUX_IOCTL_DEFS out of the configure script
into the header file so that the #define is there when needed. In the
configure.ac script the CFLAGS were extended only after the test-compiling
to determine the HARDENING_CFLAGS and the test-compilation failed on Cygwin
(only) since the tpm_ioctl.h didn't compile because of this missing
 #define.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
2022-04-04 11:45:36 -04:00
..
Makefile.am initial check-in 2014-12-05 11:16:03 -05:00
tpm_ioctl.h build-sys: Define __USE_LINUX_IOCTL_DEFS in header file (Cygwin) 2022-04-04 11:45:36 -04:00