提交 c57adc33 编写于 作者: E Erik Skultety

util: Fix the build on MinGW because of missing DT_CHR dirent type

Caused by commit 39480969Signed-off-by: NErik Skultety <eskultet@redhat.com>
上级 f39f881d
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册