Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
libvirt
提交
b38d045d
L
libvirt
项目概览
openeuler
/
libvirt
通知
3
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
L
libvirt
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
b38d045d
编写于
10月 24, 2008
作者:
D
Daniel P. Berrange
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Remove use of sys/poll.h on mingw
上级
bfc86e8a
变更
5
显示空白变更内容
内联
并排
Showing
5 changed file
with
18 addition
and
3 deletion
+18
-3
ChangeLog
ChangeLog
+8
-0
configure.in
configure.in
+1
-1
examples/domain-events/events-c/event-test.c
examples/domain-events/events-c/event-test.c
+9
-0
src/libvirt.c
src/libvirt.c
+0
-1
src/remote_internal.c
src/remote_internal.c
+0
-1
未找到文件。
ChangeLog
浏览文件 @
b38d045d
Fri Oct 24 14:09:23 BST Daniel P. Berrange <berrange@redhat.com>
* configure.in: Add check for sys/poll.h
* examples/domain-events/events-c/event-test.c: Stub out
no-op main() on platforms without sys/poll.h
* src/libvirt.c, src/remote_internal.c: Remove redundant
include of sys/poll.h breaking mingw
Fri Oct 24 13:04:23 BST Daniel P. Berrange <berrange@redhat.com>
* src/storage_conf.c: Remove <tab> character
...
...
configure.in
浏览文件 @
b38d045d
...
...
@@ -70,7 +70,7 @@ dnl Availability of various common functions (non-fatal if missing).
AC_CHECK_FUNCS([cfmakeraw regexec uname sched_getaffinity getuid getgid])
dnl Availability of various common headers (non-fatal if missing).
AC_CHECK_HEADERS([pwd.h paths.h regex.h sys/syslimits.h sys/utsname.h sys/wait.h winsock2.h sched.h termios.h])
AC_CHECK_HEADERS([pwd.h paths.h regex.h sys/syslimits.h sys/utsname.h sys/wait.h winsock2.h sched.h termios.h
sys/poll.h
])
dnl Where are the XDR functions?
dnl If portablexdr is installed, prefer that.
...
...
examples/domain-events/events-c/event-test.c
浏览文件 @
b38d045d
#include <config.h>
#include <stdio.h>
#include <string.h>
#if HAVE_SYS_POLL_H
#include <sys/types.h>
#include <sys/poll.h>
#include <libvirt/libvirt.h>
...
...
@@ -259,3 +262,9 @@ int main(int argc, char **argv)
return
0
;
}
#else
int
main
(
void
)
{
printf
(
"event-test program not available without sys/poll.h support
\n
"
);
return
1
;
}
#endif
src/libvirt.c
浏览文件 @
b38d045d
...
...
@@ -16,7 +16,6 @@
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/poll.h>
#include <unistd.h>
#include <assert.h>
#ifdef HAVE_SYS_WAIT_H
...
...
src/remote_internal.c
浏览文件 @
b38d045d
...
...
@@ -34,7 +34,6 @@
#include <signal.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/poll.h>
#include <fcntl.h>
#ifdef HAVE_SYS_WAIT_H
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录