virglrenderer: fix missing include

This commit is contained in:
Will Dietz 2018-03-26 15:31:01 -05:00
parent 73320be341
commit 4037d68db4

View File

@ -15,6 +15,11 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig ];
# Fix use of fd_set without proper include
prePatch = ''
sed -e '1i#include <sys/select.h>' -i vtest/util.c
'';
meta = with stdenv.lib; {
description = "A virtual 3D GPU library that allows a qemu guest to use the host GPU for accelerated 3D rendering";
homepage = https://virgil3d.github.io/;