From: Emilio G. Cota Date: Fri, 13 Oct 2017 21:30:20 +0000 (-0400) Subject: futex: add missing header guards X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=f3245d63a0df51184fdf12f483436329ef322d35;p=qmiga%2Fqemu.git futex: add missing header guards The header file was introduced by fbcc3e5 ("qemu-thread: optimize QemuLockCnt with futexes on Linux", 2017-01-16) without header guards. Add them. Signed-off-by: Emilio G. Cota Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Michael Tokarev --- diff --git a/include/qemu/futex.h b/include/qemu/futex.h index bb7dc9e296..91ae88966e 100644 --- a/include/qemu/futex.h +++ b/include/qemu/futex.h @@ -11,6 +11,9 @@ * */ +#ifndef QEMU_FUTEX_H +#define QEMU_FUTEX_H + #include #include @@ -34,3 +37,5 @@ static inline void qemu_futex_wait(void *f, unsigned val) } } } + +#endif /* QEMU_FUTEX_H */