dmidecode-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [dmidecode] [PATCH] dmidecode: add missing standard include


From: Jean Delvare
Subject: Re: [dmidecode] [PATCH] dmidecode: add missing standard include
Date: Fri, 19 Apr 2019 10:01:59 +0200

On Thu, 18 Apr 2019 10:49:02 +0200, Claudio Fontana wrote:
> AF_INET requires sys/socket.h, fixes build on QNX 7.0.
> 
> Signed-off-by: Claudio Fontana <address@hidden>
> ---
>  dmidecode.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/dmidecode.c b/dmidecode.c
> index 91c6f62..21bfd65 100644
> --- a/dmidecode.c
> +++ b/dmidecode.c
> @@ -66,6 +66,7 @@
>  #include <stdlib.h>
>  #include <unistd.h>
>  #include <arpa/inet.h>
> +#include <sys/socket.h>
>  
>  #ifdef __FreeBSD__
>  #include <errno.h>

Applied, thanks.

-- 
Jean Delvare
SUSE L3 Support



reply via email to

[Prev in Thread] Current Thread [Next in Thread]