Merge pull request #37892 from dtzWill/fix/virglrenderer-include

virglrenderer: fix missing include
This commit is contained in:
Will Dietz 2018-03-27 12:47:39 -05:00 committed by GitHub
commit 1c110d5285
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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/;