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

virglrenderer: fix missing include

authored by Will Dietz and committed by GitHub 1c110d52 69cdf22a

+5
+5
pkgs/development/libraries/virglrenderer/default.nix
··· 15 16 nativeBuildInputs = [ pkgconfig ]; 17 18 meta = with stdenv.lib; { 19 description = "A virtual 3D GPU library that allows a qemu guest to use the host GPU for accelerated 3D rendering"; 20 homepage = https://virgil3d.github.io/;
··· 15 16 nativeBuildInputs = [ pkgconfig ]; 17 18 + # Fix use of fd_set without proper include 19 + prePatch = '' 20 + sed -e '1i#include <sys/select.h>' -i vtest/util.c 21 + ''; 22 + 23 meta = with stdenv.lib; { 24 description = "A virtual 3D GPU library that allows a qemu guest to use the host GPU for accelerated 3D rendering"; 25 homepage = https://virgil3d.github.io/;