mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
Fix compilation on older sanlock
Temporary fix since compilation broke with older version of
sanlock following acbd4965c4
This commit is contained in:
@@ -55,6 +55,14 @@
|
||||
|
||||
#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 virLockManagerSanlockDriver *virLockManagerSanlockDriverPtr;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user