Blob Blame History Raw
From c30f14339a1408b851b2a7ade64c5a99e593f283 Mon Sep 17 00:00:00 2001
From: Claudio Fontana <claudio.fontana@gliwa.com>
Date: Fri, 19 Apr 2019 10:01:22 +0200
Subject: [PATCH 04/11] dmidecode: Add missing standard include

AF_INET requires sys/socket.h, fixes build on QNX 7.0.

Signed-off-by: Claudio Fontana <claudio.fontana@gliwa.com>
Signed-off-by: Jean Delvare <jdelvare@suse.de>
---
 dmidecode.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dmidecode.c b/dmidecode.c
index 91c6f622e3d0..21bfd65274c4 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>
-- 
2.17.1