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

Alex Hung alex.hung at canonical.com
Mon Nov 13 03:00:31 UTC 2017


On 2017-11-09 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: Alex Hung <alex.hung at canonical.com>



More information about the fwts-devel mailing list