mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
util: Fix the build on MinGW because of missing DT_CHR dirent type
Caused by commit 39480969
Signed-off-by: Erik Skultety <eskultet@redhat.com>
This commit is contained in:
@@ -2172,9 +2172,6 @@ virHostGetDRMRenderNode(void)
|
||||
return NULL;
|
||||
|
||||
while ((dirErr = virDirRead(driDir, &ent, driPath)) > 0) {
|
||||
if (ent->d_type != DT_CHR)
|
||||
continue;
|
||||
|
||||
if (STRPREFIX(ent->d_name, "renderD")) {
|
||||
have_rendernode = true;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user