4a6338
From c30f14339a1408b851b2a7ade64c5a99e593f283 Mon Sep 17 00:00:00 2001
4a6338
From: Claudio Fontana <claudio.fontana@gliwa.com>
4a6338
Date: Fri, 19 Apr 2019 10:01:22 +0200
4a6338
Subject: [PATCH 04/11] dmidecode: Add missing standard include
4a6338
4a6338
AF_INET requires sys/socket.h, fixes build on QNX 7.0.
4a6338
4a6338
Signed-off-by: Claudio Fontana <claudio.fontana@gliwa.com>
4a6338
Signed-off-by: Jean Delvare <jdelvare@suse.de>
4a6338
---
4a6338
 dmidecode.c | 1 +
4a6338
 1 file changed, 1 insertion(+)
4a6338
4a6338
diff --git a/dmidecode.c b/dmidecode.c
4a6338
index 91c6f622e3d0..21bfd65274c4 100644
4a6338
--- a/dmidecode.c
4a6338
+++ b/dmidecode.c
4a6338
@@ -66,6 +66,7 @@
4a6338
 #include <stdlib.h>
4a6338
 #include <unistd.h>
4a6338
 #include <arpa/inet.h>
4a6338
+#include <sys/socket.h>
4a6338
 
4a6338
 #ifdef __FreeBSD__
4a6338
 #include <errno.h>
4a6338
-- 
4a6338
2.17.1
4a6338