Add POLL_BUSY_LOOP symbol for older distros.
PATCH 1/1 Add POLL_BUSY_LOOP symbol for older distros.
From: Vinson Lee <[email protected]>
POLL_BUSY_LOOP is not available until Linux 3.11.
Signed-off-by Vinson Lee <[email protected]>
--- include/compat.h | 3 +++ 1 file changed, 3 insertions(+)
include/compat.h +3 -0
@@ -1029,3 +1029,6 @@ struct kvm_get_htab_fd {#ifndef POLLFREE #define POLLFREE 0x4000#endif +#ifndef POLL_BUSY_LOOP +#define POLL_BUSY_LOOP 0x8000 +#endif
Signature · 1 line
1.7.9.5