ACK: [PATCH][V2] lib: fwts_log_plaintext: include inttypes.h for PRIu32 definition
ivanhu
ivan.hu at canonical.com
Mon Sep 25 08:51:17 UTC 2017
On 09/22/2017 05:07 PM, 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: c576305f7b29 ("fwts_log: make line_number to a uint32_t type")
> Signed-off-by: Colin Ian King <colin.king at canonical.com>
> ---
> src/lib/src/fwts_log_plaintext.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/src/lib/src/fwts_log_plaintext.c b/src/lib/src/fwts_log_plaintext.c
> index 0cde841f..94d86df1 100644
> --- a/src/lib/src/fwts_log_plaintext.c
> +++ b/src/lib/src/fwts_log_plaintext.c
> @@ -22,6 +22,7 @@
> #include <stdio.h>
> #include <stdarg.h>
> #include <stdint.h>
> +#include <inttypes.h>
> #include <string.h>
> #include <unistd.h>
> #include <sys/ioctl.h>
>
Acked-by: Alex Hung <alex.hung at canonical.com>
More information about the fwts-devel
mailing list