mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-01-25 12:58:10 +00:00
[client] ivshmem: fix missing <sys/select.h> include
While the function `ivshmem_wait_irq` makes use of the select(3) function, it does not include <sys/select.h>. 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 <sys/select.h> to fix the problem.
This commit is contained in:
parent
7bfed41523
commit
fe337cf510
1 changed files with 2 additions and 1 deletions
|
@ -30,6 +30,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#include <sys/un.h>
|
#include <sys/un.h>
|
||||||
|
#include <sys/select.h>
|
||||||
|
|
||||||
#include <sys/mman.h>
|
#include <sys/mman.h>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue