1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-22 17:34:18 +03: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:
Daniel P. Berrange 2014-04-25 15:48:30 +01:00
parent 3ba789ccd5
commit 2a47ff565c

View File

@ -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>