aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/qemu/futex.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/qemu/futex.h b/include/qemu/futex.h
index bb7dc9e..91ae889 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 */