]> source.dussan.org Git - tigervnc.git/commitdiff
Add missing stdexcept include
authorPierre Ossman <ossman@cendio.se>
Mon, 18 Nov 2024 15:04:06 +0000 (16:04 +0100)
committerPierre Ossman <ossman@cendio.se>
Mon, 18 Nov 2024 15:04:06 +0000 (16:04 +0100)
The issue was masked by it getting included by the TLS headers. But if
GnuTLS was disabled, then this file would fail to build.

common/rfb/SecurityClient.cxx

index 878edde9405e3fdbc3850891feaf7145b84678fb..027d47df2d851c38dd54b53f2fd9ada6fc0b967f 100644 (file)
@@ -22,6 +22,9 @@
 #endif
 
 #include <assert.h>
+
+#include <stdexcept>
+
 #include <rfb/CSecurityNone.h>
 #include <rfb/CSecurityStack.h>
 #include <rfb/CSecurityVeNCrypt.h>