diff --git a/.gitmodules b/.gitmodules
new file mode 100644
index 00000000..2f11f7e6
--- /dev/null
+++ b/.gitmodules
@@ -0,0 +1,4 @@
+[submodule "src/base"]
+	path = src/base
+	url = https://github.com/xmrig/base.git
+	branch = master
diff --git a/src/base b/src/base
new file mode 160000
index 00000000..2360d3c4
--- /dev/null
+++ b/src/base
@@ -0,0 +1 @@
+Subproject commit 2360d3c4da8891e074491c687533b71cc009a003