1From a8d85949a068ee6cd9a2f923cd039047993f239e Mon Sep 17 00:00:00 2001 2From: Khem Raj <raj.khem@gmail.com> 3Date: Mon, 3 Apr 2017 17:11:32 -0700 4Subject: [PATCH] include required system header files for fd_set and makedev 5 6fd_set comes from sys/select.h 7makedev macro is defined in sys/sysmacros.h 8 9Signed-off-by: Khem Raj <raj.khem@gmail.com> 10--- 11Upstream-Status: Pending 12 13 uml_net/ethertap.c | 1 + 14 uml_net/host.c | 1 + 15 2 files changed, 2 insertions(+) 16 17diff --git a/uml_net/ethertap.c b/uml_net/ethertap.c 18index ddd41f2..57f7119 100644 19--- a/uml_net/ethertap.c 20+++ b/uml_net/ethertap.c 21@@ -11,6 +11,7 @@ 22 #include <sys/signal.h> 23 #include <sys/socket.h> 24 #include <sys/stat.h> 25+#include <sys/select.h> 26 #include <sys/ioctl.h> 27 #include <net/if.h> 28 #include "host.h" 29diff --git a/uml_net/host.c b/uml_net/host.c 30index 65c20df..fc04cd4 100644 31--- a/uml_net/host.c 32+++ b/uml_net/host.c 33@@ -10,6 +10,7 @@ 34 #include <ctype.h> 35 #include <sys/wait.h> 36 #include <sys/stat.h> 37+#include <sys/sysmacros.h> 38 #include "output.h" 39 #include "host.h" 40 41-- 422.12.2 43 44