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