From fe337cf51022210f2e35fc64c78079dddf1b8daf Mon Sep 17 00:00:00 2001 From: Patrick Steinhardt Date: Fri, 15 Dec 2017 07:13:12 +0000 Subject: [PATCH] [client] ivshmem: fix missing include While the function `ivshmem_wait_irq` makes use of the select(3) function, it does not include . This happens to work on glibc based systems, which include thet file transitively via other header files. But on musl libc based systems, this breaks compilation. Directly include to fix the problem. --- client/ivshmem/ivshmem.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/ivshmem/ivshmem.c b/client/ivshmem/ivshmem.c index d77e1d39..53337c1c 100644 --- a/client/ivshmem/ivshmem.c +++ b/client/ivshmem/ivshmem.c @@ -30,6 +30,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA #include #include #include +#include #include @@ -544,4 +545,4 @@ bool ivshmem_kick_irq(uint16_t clientID, uint16_t vector) DEBUG_ERROR("failed to send kick"); return false; -} \ No newline at end of file +}