ACK: [PATCH] lib: fwts_battery: include inttypes.h for PRIu32 definition
Alex Hung
alex.hung at canonical.com
Fri Sep 22 18:43:27 UTC 2017
On 2017-09-22 01:50 AM, Colin King wrote:
> From: Colin Ian King <colin.king at canonical.com>
>
> Older versions of gcc/glibc require this header to be explicitly included.
>
> Fixes: 171cf7f37728 ("lib: fwts_battery: clean up battery interfaces)
> Signed-off-by: Colin Ian King <colin.king at canonical.com>
> ---
> src/lib/src/fwts_battery.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/src/lib/src/fwts_battery.c b/src/lib/src/fwts_battery.c
> index 9e2ec28e..c59fe461 100644
> --- a/src/lib/src/fwts_battery.c
> +++ b/src/lib/src/fwts_battery.c
> @@ -20,6 +20,7 @@
>
> #include <stdlib.h>
> #include <stdio.h>
> +#include <stdint.h>
> #include <sys/types.h>
> #include <sys/stat.h>
> #include <unistd.h>
>
Acked-by: Alex Hung <alex.hung at canonical.com>
More information about the fwts-devel
mailing list