mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-24 22:55:23 +00:00
Fix compilation on older sanlock
Temporary fix since compilation broke with older version of
sanlock following acbd4965c4
This commit is contained in:
parent
9273e07f9e
commit
0fce94fe1b
@ -55,6 +55,14 @@
|
|||||||
|
|
||||||
#define VIR_LOCK_MANAGER_SANLOCK_AUTO_DISK_LOCKSPACE "__LIBVIRT__DISKS__"
|
#define VIR_LOCK_MANAGER_SANLOCK_AUTO_DISK_LOCKSPACE "__LIBVIRT__DISKS__"
|
||||||
|
|
||||||
|
/*
|
||||||
|
* temporary fix for the case where the sanlock devel package is
|
||||||
|
* too old to provide that define, and probably the functionality too
|
||||||
|
*/
|
||||||
|
#ifndef SANLK_RES_SHARED
|
||||||
|
#define SANLK_RES_SHARED 0x4
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef struct _virLockManagerSanlockDriver virLockManagerSanlockDriver;
|
typedef struct _virLockManagerSanlockDriver virLockManagerSanlockDriver;
|
||||||
typedef virLockManagerSanlockDriver *virLockManagerSanlockDriverPtr;
|
typedef virLockManagerSanlockDriver *virLockManagerSanlockDriverPtr;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user