mirror of https://github.com/schoebel/mars
infra: quickfix Redhat/openvz builds
This commit is contained in:
parent
4a2ee37b98
commit
3a6ff3d2c8
|
@ -28,7 +28,11 @@
|
|||
|
||||
// remove_this
|
||||
#include <linux/wait.h>
|
||||
#ifndef __WAIT_ATOMIC_T_KEY_INITIALIZER
|
||||
#include <linux/version.h>
|
||||
/* FIXME: some Redhat/openvz kernels seem to have both (backporting etc).
|
||||
* The folling is an incomplete quickfix / workaround. TBD.
|
||||
*/
|
||||
#if !defined(__WAIT_ATOMIC_T_KEY_INITIALIZER) || defined(RHEL_RELEASE)
|
||||
#define HAS_VFS_READDIR
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue