mirror of https://gitee.com/openkylin/libvirt.git
Conditionalize include of dlfcn.h in virmock.h
dlfcn.h does not exist on Win32 so must only be used conditionally Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
This commit is contained in:
parent
3ba789ccd5
commit
2a47ff565c
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in New Issue