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