summaryrefslogtreecommitdiffhomepage
path: root/src/kernel/NeKit/Function.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/NeKit/Function.h')
-rw-r--r--src/kernel/NeKit/Function.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/kernel/NeKit/Function.h b/src/kernel/NeKit/Function.h
index dfa8608a..fcc3b65c 100644
--- a/src/kernel/NeKit/Function.h
+++ b/src/kernel/NeKit/Function.h
@@ -4,7 +4,8 @@
======================================== */
-#pragma once
+#ifndef NEKIT_FUNCTION_H
+#define NEKIT_FUNCTION_H
#include <NeKit/Config.h>
#include <NeKit/ErrorOr.h>
@@ -37,3 +38,5 @@ class Function final {
template <typename T, typename... Args>
using FunctionOr = ErrorOr<Function<T, Args...>>;
} // namespace Kernel
+
+#endif