提交 2a47ff56 编写于 作者: D Daniel P. Berrange

Conditionalize include of dlfcn.h in virmock.h

dlfcn.h does not exist on Win32 so must only be used
conditionally
Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
上级 3ba789cc
......@@ -22,7 +22,9 @@
#ifndef __VIR_MOCK_H__
# define __VIR_MOCK_H__
# include <dlfcn.h>
# if HAVE_DLFCN_H
# include <dlfcn.h>
# endif
# include <stdlib.h>
# include <stdio.h>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册