]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sys_shared.c
build: get Visual Studio 2019 to compile
[xonotic/darkplaces.git] / sys_shared.c
index 67dde09843d29b323732ded03d03191087a2a758..751797540951117a6b8cfdc73659da1ecab1c324 100644 (file)
 #include "taskqueue.h"
 #include "thread.h"
 #include "libcurl.h"
+#if defined(_MSC_VER)
+       // Not sure why MS compiler needs this here and gcc doesn't...
+       // and gcc fails to build darkplaces-dedicated if it's included here.
+       #include "SDL.h"
+#endif
 
 
 sys_t sys;