Commit f3245d63 authored by Emilio G. Cota's avatar Emilio G. Cota Committed by Michael Tokarev
Browse files

futex: add missing header guards



The header file was introduced by fbcc3e50 ("qemu-thread: optimize QemuLockCnt
with futexes on Linux", 2017-01-16) without header guards. Add them.

Signed-off-by: default avatarEmilio G. Cota <cota@braap.org>
Reviewed-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: default avatarMichael Tokarev <mjt@tls.msk.ru>
parent 70857ad6
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -11,6 +11,9 @@
 *
 */

#ifndef QEMU_FUTEX_H
#define QEMU_FUTEX_H

#include <sys/syscall.h>
#include <linux/futex.h>

@@ -34,3 +37,5 @@ static inline void qemu_futex_wait(void *f, unsigned val)
        }
    }
}

#endif /* QEMU_FUTEX_H */