diff --git a/amxmodx/AMBuilder b/amxmodx/AMBuilder
index 9f5fc5be..16125cdc 100644
--- a/amxmodx/AMBuilder
+++ b/amxmodx/AMBuilder
@@ -92,7 +92,8 @@ binary.sources = [
'datastructs.cpp',
'trie_natives.cpp',
'CDataPack.cpp',
- 'datapacks.cpp'
+ 'datapacks.cpp',
+ 'stackstructs.cpp',
]
if builder.target_platform == 'windows':
diff --git a/amxmodx/Makefile b/amxmodx/Makefile
index 42982f82..fc136574 100755
--- a/amxmodx/Makefile
+++ b/amxmodx/Makefile
@@ -21,7 +21,7 @@ OBJECTS = meta_api.cpp CFile.cpp CVault.cpp vault.cpp float.cpp file.cpp modules
CMenu.cpp util.cpp amx.cpp amxdbg.cpp natives.cpp newmenus.cpp debugger.cpp \
optimizer.cpp format.cpp messages.cpp libraries.cpp vector.cpp sorting.cpp \
nongpl_matches.cpp CFlagManager.cpp datastructs.cpp \
- trie_natives.cpp CDataPack.cpp datapacks.cpp
+ trie_natives.cpp CDataPack.cpp datapacks.cpp stackstructs.cpp
##############################################
### CONFIGURE ANY OTHER FLAGS/OPTIONS HERE ###
diff --git a/amxmodx/amxmodx.h b/amxmodx/amxmodx.h
index bf55dc7d..1cc830a7 100755
--- a/amxmodx/amxmodx.h
+++ b/amxmodx/amxmodx.h
@@ -85,6 +85,7 @@ extern AMX_NATIVE_INFO msg_Natives[];
extern AMX_NATIVE_INFO vector_Natives[];
extern AMX_NATIVE_INFO g_SortNatives[];
extern AMX_NATIVE_INFO g_DataStructNatives[];
+extern AMX_NATIVE_INFO g_StackNatives[];
#if defined(_WIN32)
#define DLLOAD(path) (DLHANDLE)LoadLibrary(path)
diff --git a/amxmodx/datastructs.h b/amxmodx/datastructs.h
index 15b94d53..491d4c1a 100644
--- a/amxmodx/datastructs.h
+++ b/amxmodx/datastructs.h
@@ -230,4 +230,4 @@ inline CellArray* HandleToVector(AMX* amx, int handle)
}
-#endif
+#endif
\ No newline at end of file
diff --git a/amxmodx/modules.cpp b/amxmodx/modules.cpp
index 627fafe8..282147d3 100755
--- a/amxmodx/modules.cpp
+++ b/amxmodx/modules.cpp
@@ -573,6 +573,7 @@ int set_amxnatives(AMX* amx, char error[128])
amx_Register(amx, g_DataStructNatives, -1);
amx_Register(amx, trie_Natives, -1);
amx_Register(amx, g_DatapackNatives, -1);
+ amx_Register(amx, g_StackNatives, -1);
//we're not actually gonna check these here anymore
amx->flags |= AMX_FLAG_PRENIT;
diff --git a/amxmodx/msvc10/amxmodx_mm.vcxproj b/amxmodx/msvc10/amxmodx_mm.vcxproj
index 113429f7..1c6a0e34 100644
--- a/amxmodx/msvc10/amxmodx_mm.vcxproj
+++ b/amxmodx/msvc10/amxmodx_mm.vcxproj
@@ -329,6 +329,7 @@
+
All
All
@@ -400,6 +401,7 @@
+
diff --git a/amxmodx/msvc10/amxmodx_mm.vcxproj.filters b/amxmodx/msvc10/amxmodx_mm.vcxproj.filters
index f916cde8..4fff2988 100644
--- a/amxmodx/msvc10/amxmodx_mm.vcxproj.filters
+++ b/amxmodx/msvc10/amxmodx_mm.vcxproj.filters
@@ -174,6 +174,9 @@
Source Files
+
+ Source Files
+
@@ -405,6 +408,9 @@
Pawn Includes
+
+ Pawn Includes
+