mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
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__
|
#ifndef __VIR_MOCK_H__
|
||||||
# define __VIR_MOCK_H__
|
# define __VIR_MOCK_H__
|
||||||
|
|
||||||
|
# if HAVE_DLFCN_H
|
||||||
# include <dlfcn.h>
|
# include <dlfcn.h>
|
||||||
|
# endif
|
||||||
# include <stdlib.h>
|
# include <stdlib.h>
|
||||||
# include <stdio.h>
|
# include <stdio.h>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user