ACK: [PATCH] acpi: wakealarm: include stdint.h and inttypes.h
Alex Hung
alex.hung at canonical.com
Fri Sep 22 18:44:49 UTC 2017
On 2017-09-22 02:21 AM, Colin King wrote:
> From: Colin Ian King <colin.king at canonical.com>
>
> Older versions of gcc/glibc require these headers to be explicitly
> included.
>
> Fixes: d5ae8c039c50 ("lib: fwts_wakealarm: make wakealarm times uint32_t")
> Signed-off-by: Colin Ian King <colin.king at canonical.com>
> ---
> src/acpi/wakealarm/wakealarm.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/src/acpi/wakealarm/wakealarm.c b/src/acpi/wakealarm/wakealarm.c
> index fa81a642..6d8521d8 100644
> --- a/src/acpi/wakealarm/wakealarm.c
> +++ b/src/acpi/wakealarm/wakealarm.c
> @@ -22,6 +22,8 @@
>
> #include <stdlib.h>
> #include <stdio.h>
> +#include <stdint.h>
> +#include <inttypes.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