summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ui/qt/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/qt/main.cpp b/ui/qt/main.cpp
index 8a05d8cc49..1cf24cc527 100644
--- a/ui/qt/main.cpp
+++ b/ui/qt/main.cpp
@@ -27,7 +27,9 @@
#include <glib.h>
+#ifdef Q_OS_UNIX
#include <signal.h>
+#endif
#ifdef HAVE_LIBZ
#include <zlib.h> /* to get the libz version number */