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 <claudio.font...@gliwa.com> > --- > 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 _______________________________________________ https://lists.nongnu.org/mailman/listinfo/dmidecode-devel