summaryrefslogtreecommitdiff
path: root/src/game-server
diff options
context:
space:
mode:
Diffstat (limited to 'src/game-server')
-rw-r--r--src/game-server/main-game.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game-server/main-game.cpp b/src/game-server/main-game.cpp
index b33c4016..6383a9ec 100644
--- a/src/game-server/main-game.cpp
+++ b/src/game-server/main-game.cpp
@@ -112,7 +112,9 @@ void initialize()
signal(SIGSEGV, SIG_DFL);
// Used to close via process signals
+#if (defined __USE_UNIX98 || defined __FreeBSD__)
signal(SIGQUIT, closeGracefully);
+#endif
signal(SIGINT, closeGracefully);
/*