summaryrefslogtreecommitdiffstats
path: root/common/rfb/SSecurityPlain.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'common/rfb/SSecurityPlain.cxx')
-rw-r--r--common/rfb/SSecurityPlain.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/common/rfb/SSecurityPlain.cxx b/common/rfb/SSecurityPlain.cxx
index d1f92646..6b7bd9e7 100644
--- a/common/rfb/SSecurityPlain.cxx
+++ b/common/rfb/SSecurityPlain.cxx
@@ -17,6 +17,14 @@
* USA.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+#ifndef HAVE_GNUTLS
+#error "This source should not be compiled without HAVE_GNUTLS defined"
+#endif
+
#include <rfb/SSecurityPlain.h>
#include <rfb/SConnection.h>
#include <rfb/Exception.h>