summaryrefslogtreecommitdiffhomepage
path: root/frameworks/libThread.fwrk
diff options
context:
space:
mode:
Diffstat (limited to 'frameworks/libThread.fwrk')
-rw-r--r--frameworks/libThread.fwrk/headers/Config.h11
-rw-r--r--frameworks/libThread.fwrk/src/ThreadMgr.cpp2
2 files changed, 12 insertions, 1 deletions
diff --git a/frameworks/libThread.fwrk/headers/Config.h b/frameworks/libThread.fwrk/headers/Config.h
new file mode 100644
index 0000000..c6734a4
--- /dev/null
+++ b/frameworks/libThread.fwrk/headers/Config.h
@@ -0,0 +1,11 @@
+// SPDX-License-Identifier: Apache-2.0
+// Copyright 2026, Amlal El Mahrouss (amlal@nekernel.org)
+// Licensed under the Apache License, Version 2.0 (see LICENSE file)
+// Official repository: https://github.com/ne-foss-org/ne_system
+
+#ifndef LIBTHREAD_FOUNDATION_H
+#define LIBTHREAD_FOUNDATION_H
+
+#include <libSystem/SystemKit/System.h>
+
+#endif // LIBTHREAD_FOUNDATION_H
diff --git a/frameworks/libThread.fwrk/src/ThreadMgr.cpp b/frameworks/libThread.fwrk/src/ThreadMgr.cpp
index f01bbfe..7361f86 100644
--- a/frameworks/libThread.fwrk/src/ThreadMgr.cpp
+++ b/frameworks/libThread.fwrk/src/ThreadMgr.cpp
@@ -3,7 +3,7 @@
// Licensed under the Apache License, Version 2.0 (see LICENSE file)
// Official repository: https://github.com/ne-foss-org/ne_system
-#include <libSystem/SystemKit/System.h>
+#include <libThread.fwrk/headers/Config.h>
#define kThreadMapMax (1024UL)
#define kThreadBaseHash (0x5555ffff6ULL)