mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 03:12:22 +00: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:
parent
f39f881dc1
commit
c57adc3300
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user