Richard Marian Thomaiyar | 14fddef | 2018-07-13 23:55:56 +0530 | [diff] [blame] | 1 | This fixes musl build issue do to missing FD_* defines. |
| 2 | Add sys/select.h |
| 3 | |
| 4 | Upstream-Status: Pending |
| 5 | |
| 6 | Signed-off-by: Armin Kuster <akuster@mvista.com> |
| 7 | |
| 8 | Index: TPM2.0-TSS/tcti/tcti_socket.cpp |
| 9 | =================================================================== |
| 10 | --- TPM2.0-TSS.orig/tcti/tcti_socket.cpp |
| 11 | +++ TPM2.0-TSS/tcti/tcti_socket.cpp |
| 12 | @@ -28,6 +28,7 @@ |
| 13 | #include <stdio.h> |
| 14 | #include <stdlib.h> // Needed for _wtoi |
| 15 | |
| 16 | +#include "sys/select.h" |
| 17 | #include <sapi/tpm20.h> |
| 18 | #include <tcti/tcti_socket.h> |
| 19 | #include "sysapi_util.h" |
| 20 | Index: TPM2.0-TSS/resourcemgr/resourcemgr.c |
| 21 | =================================================================== |
| 22 | --- TPM2.0-TSS.orig/resourcemgr/resourcemgr.c |
| 23 | +++ TPM2.0-TSS/resourcemgr/resourcemgr.c |
| 24 | @@ -28,6 +28,7 @@ |
| 25 | #include <stdio.h> |
| 26 | #include <stdlib.h> // Needed for _wtoi |
| 27 | |
| 28 | +#include "sys/select.h" |
| 29 | #include <sapi/tpm20.h> |
| 30 | #include <tcti/tcti_device.h> |
| 31 | #include <tcti/tcti_socket.h> |