summaryrefslogtreecommitdiffhomepage
path: root/Private/CompilerKit
diff options
context:
space:
mode:
Diffstat (limited to 'Private/CompilerKit')
-rw-r--r--Private/CompilerKit/Detail.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/Private/CompilerKit/Detail.hxx b/Private/CompilerKit/Detail.hxx
index 0c7a7c46..78a08dcf 100644
--- a/Private/CompilerKit/Detail.hxx
+++ b/Private/CompilerKit/Detail.hxx
@@ -6,7 +6,9 @@
#pragma once
-#include <NewKit/Defines.hpp>
+#ifdef __KERNEL__
+# include <NewKit/Defines.hpp>
+#endif // ifdef __KERNEL__
#define HCORE_COPY_DELETE(KLASS) \
KLASS &operator=(const KLASS &) = delete; \