Fixed compiling autoupdate server and dedicated server

Fixed compiling autoupdate server and dedicated server

diff --git a/src/engine/API/soundSystem_api.hpp b/src/engine/API/soundSystem_api.hpp
index 5adef0d..5a13af1 100644
--- a/src/engine/API/soundSystem_api.hpp
+++ b/src/engine/API/soundSystem_api.hpp
@@ -40,6 +40,12 @@
 
 #define SND_API_VERSION 1
 
+#if defined (GAMEDLL) || defined (CGAMEDLL) || defined (GUI)
+typedef struct snd_info_s snd_info_t;
+typedef struct snd_codec_s snd_codec_t;
+typedef struct snd_stream_s snd_stream_t;
+#endif
+
 //
 // idSoundSystem
 //
@@ -136,7 +142,7 @@ typedef struct openALImports_s
     void* ( *Malloc )( uint64 size );
     void ( *Free )( void* buf );
     
-#if !defined (DEDICATED)
+#if !defined (DEDICATED) || !defined (GAMEDLL) || !defined (CGAMEDLL) || !defined (GUI)
     idAudioOpenALSystem* soundOpenALSystem;
     idSoundSystem* soundSystem;
     idFileSystem* fileSystem;
@@ -148,4 +154,3 @@ typedef struct openALImports_s
 } openALImports_t;
 
 #endif // !__SOUND_API_H__
-
diff --git a/src/engine/null/null_autoprecompiled.hpp b/src/engine/null/null_autoprecompiled.hpp
index cc8488d..3d370aa 100644
--- a/src/engine/null/null_autoprecompiled.hpp
+++ b/src/engine/null/null_autoprecompiled.hpp
@@ -111,8 +111,6 @@
 #include <cm/cm_patch.hpp>
 #include <GPURenderer/r_types.hpp>
 #include <API/renderer_api.hpp>
-#include <soundSystem/sndSystem_codec.hpp>
-#include <API/soundSystem_api.hpp>
 #include <API/FileSystem_api.hpp>
 #include <API/CVarSystem_api.hpp>
 #include <API/download_api.hpp>
@@ -125,11 +123,13 @@
 #include <API/CmdSystem_api.hpp>
 #include <API/serverDemo_api.hpp>
 #include <API/system_api.hpp>
+#include <API/Parse_api.hpp>
+#include <framework/Parse.hpp>
+#include <soundSystem/sndSystem_codec.hpp>
+#include <API/soundSystem_api.hpp>
 
 #include <cm/cm_local.hpp>
 
-#include <API/Parse_api.hpp>
-#include <framework/Parse.hpp>
 #include <API/download_api.hpp>
 #include <download/downloadLocal.hpp>
 #include <API/clientLAN_api.hpp>
diff --git a/src/engine/null/null_serverprecompiled.hpp b/src/engine/null/null_serverprecompiled.hpp
index da48346..c42b2bc 100644
--- a/src/engine/null/null_serverprecompiled.hpp
+++ b/src/engine/null/null_serverprecompiled.hpp
@@ -113,8 +113,6 @@
 #include <cm/cm_patch.hpp>
 #include <GPURenderer/r_types.hpp>
 #include <API/renderer_api.hpp>
-#include <soundSystem/sndSystem_codec.hpp>
-#include <API/soundSystem_api.hpp>
 #include <API/FileSystem_api.hpp>
 #include <API/CVarSystem_api.hpp>
 #include <API/download_api.hpp>
@@ -127,11 +125,13 @@
 #include <API/CmdSystem_api.hpp>
 #include <API/serverDemo_api.hpp>
 #include <API/system_api.hpp>
+#include <API/Parse_api.hpp>
+#include <framework/Parse.hpp>
+#include <soundSystem/sndSystem_codec.hpp>
+#include <API/soundSystem_api.hpp>
 
 #include <cm/cm_local.hpp>
 
-#include <API/Parse_api.hpp>
-#include <framework/Parse.hpp>
 #include <API/download_api.hpp>
 #include <download/downloadLocal.hpp>
 #include <API/clientLAN_api.hpp>

GitHub
sha: 013c9c8d