summaryrefslogtreecommitdiff
path: root/coroutine/x86
diff options
context:
space:
mode:
Diffstat (limited to 'coroutine/x86')
-rw-r--r--coroutine/x86/Context.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/coroutine/x86/Context.h b/coroutine/x86/Context.h
index dfdde24f5d..1d709fa98d 100644
--- a/coroutine/x86/Context.h
+++ b/coroutine/x86/Context.h
@@ -1,3 +1,6 @@
+#ifndef COROUTINE_X86_CONTEXT_H
+#define COROUTINE_X86_CONTEXT_H 1
+
/*
* This file is part of the "Coroutine" project and released under the MIT License.
*
@@ -53,3 +56,5 @@ static inline void coroutine_destroy(struct coroutine_context * context)
{
context->stack_pointer = NULL;
}
+
+#endif /* COROUTINE_X86_CONTEXT_H */