aboutsummaryrefslogtreecommitdiff
path: root/src/frontend/qt_sdl/main.cpp
diff options
context:
space:
mode:
authorStapleButter <thetotalworm@gmail.com>2020-05-19 14:37:54 +0200
committerStapleButter <thetotalworm@gmail.com>2020-05-19 14:37:54 +0200
commit7d69699d648b93d76f14024705c4a86f5929ba3d (patch)
tree3c10521f16dcec11b5d79454828a60dc12d8f926 /src/frontend/qt_sdl/main.cpp
parent7026bb15f6688d4148932a7624baf2f3d5d22d8f (diff)
fix Linux build error
Diffstat (limited to 'src/frontend/qt_sdl/main.cpp')
-rw-r--r--src/frontend/qt_sdl/main.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/frontend/qt_sdl/main.cpp b/src/frontend/qt_sdl/main.cpp
index d664172..9d4c274 100644
--- a/src/frontend/qt_sdl/main.cpp
+++ b/src/frontend/qt_sdl/main.cpp
@@ -868,6 +868,11 @@ void MainWindow::onInputConfigFinished(int res)
}
+// FIXME!!!!
+#if (!defined(__WIN32__) && !defined(UNIX_PORTABLE))
+#include <glib.h>
+#endif
+
int main(int argc, char** argv)
{
srand(time(NULL));