diff options
| author | Emilio G. Cota | 2017-10-13 23:30:20 +0200 |
|---|---|---|
| committer | Michael Tokarev | 2017-10-16 19:57:13 +0200 |
| commit | f3245d63a0df51184fdf12f483436329ef322d35 (patch) | |
| tree | 18c7b79e651ee9ed7eab40100e38740f1197c150 /include | |
| parent | ui/gtk: Fix deprecation of vte_terminal_copy_clipboard (diff) | |
| download | qemu-f3245d63a0df51184fdf12f483436329ef322d35.tar.gz qemu-f3245d63a0df51184fdf12f483436329ef322d35.tar.xz qemu-f3245d63a0df51184fdf12f483436329ef322d35.zip | |
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 <cota@braap.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'include')
| -rw-r--r-- | include/qemu/futex.h | 5 |
1 files changed, 5 insertions, 0 deletions
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 <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 */ |
