ACK: [PATCH 1/2] lib: fwts_acpi_object_eval: fix build issues with older toolchains

ivanhu ivan.hu at canonical.com
Tue Nov 14 10:11:08 UTC 2017



On 11/09/2017 08:27 PM, Colin King wrote:
> From: Colin Ian King <colin.king at canonical.com>
>
> Explicitly include <stdint.h> and <inttypes.h> to avoid build errors
> on older toolchains. This supports distros that aren't so up to date
>
> Signed-off-by: Colin Ian King <colin.king at canonical.com>
> ---
>   src/lib/src/fwts_acpi_object_eval.c | 2 ++
>   1 file changed, 2 insertions(+)
>
> diff --git a/src/lib/src/fwts_acpi_object_eval.c b/src/lib/src/fwts_acpi_object_eval.c
> index 1151f4a2..b3564412 100644
> --- a/src/lib/src/fwts_acpi_object_eval.c
> +++ b/src/lib/src/fwts_acpi_object_eval.c
> @@ -22,8 +22,10 @@
>   
>   #include <stdio.h>
>   #include <stdlib.h>
> +#include <stdint.h>
>   #include <string.h>
>   #include <unistd.h>
> +#include <inttypes.h>
>   
>   /* acpica headers */
>   #pragma GCC diagnostic ignored "-Wunused-parameter"
Acked-by: Ivan Hu <ivan.hu at canonical.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/fwts-devel/attachments/20171114/5a438518/attachment-0001.html>


More information about the fwts-devel mailing list