NAK: [PATCH] lib: fwts_log_plaintext: include inttypes.h for PRIu32 definition

Colin Ian King colin.king at canonical.com
Fri Sep 22 09:04:12 UTC 2017


On 22/09/17 10:01, 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..5e578823 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 <intypes.h>

Oops. I'll resend.

>  #include <string.h>
>  #include <unistd.h>
>  #include <sys/ioctl.h>
> 




More information about the fwts-devel mailing list