From cdc94f817ab2466036f35bc78c7f83b653e73c3e Mon Sep 17 00:00:00 2001 From: Adam Sampson Date: Thu, 22 Oct 2020 17:39:30 +0100 Subject: [PATCH] Add missing #include in classes that use it. It's already included in clientdlg.h. This fixes building with Qt 5.7 -- it's OK with Qt 5.13 (presumably because one of the other headers transitively includes QVersionNumber). --- src/channel.h | 1 + src/serverdlg.h | 1 + 2 files changed, 2 insertions(+) diff --git a/src/channel.h b/src/channel.h index 72b657f90f..d531559ccd 100755 --- a/src/channel.h +++ b/src/channel.h @@ -28,6 +28,7 @@ #include #include #include +#include #include "global.h" #include "buffer.h" #include "util.h" diff --git a/src/serverdlg.h b/src/serverdlg.h index 084ef77f3f..9bdcd1997d 100755 --- a/src/serverdlg.h +++ b/src/serverdlg.h @@ -36,6 +36,7 @@ #include #include #include +#include #include "global.h" #include "server.h" #include "settings.h"