ACK: [PATCH] opal: fix build error on Ubuntu 12.04 i386 with gcc 4.6.3

Alex Hung alex.hung at canonical.com
Wed Jun 14 06:55:57 UTC 2017


On 2017-06-13 11:36 PM, Colin King wrote:
> From: Colin Ian King <colin.king at canonical.com>
> 
> For some reason we need to also include inttypes.h for 32 bit
> builds with gcc 4.6.3 on Ubuntu 12.04 to build correctly.
> 
> Signed-off-by: Colin Ian King <colin.king at canonical.com>
> ---
>   src/opal/reserv_mem.c | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/src/opal/reserv_mem.c b/src/opal/reserv_mem.c
> index 4199448c..60f8c212 100644
> --- a/src/opal/reserv_mem.c
> +++ b/src/opal/reserv_mem.c
> @@ -21,6 +21,7 @@
>   #include <fcntl.h>
>   #include <stdlib.h>
>   #include <sys/ioctl.h>
> +#include <inttypes.h>
>   
>   #include "fwts.h"
>   
> 


Acked-by: Alex Hung <alex.hung at canonical.com>



More information about the fwts-devel mailing list