summaryrefslogtreecommitdiffstats
path: root/common/rfb/SSecurityTLSBase.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/rfb/SSecurityTLSBase.h')
-rw-r--r--common/rfb/SSecurityTLSBase.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/rfb/SSecurityTLSBase.h b/common/rfb/SSecurityTLSBase.h
index 4daad217..b1f2d448 100644
--- a/common/rfb/SSecurityTLSBase.h
+++ b/common/rfb/SSecurityTLSBase.h
@@ -26,7 +26,9 @@
#include <config.h>
#endif
-#ifdef HAVE_GNUTLS
+#ifndef HAVE_GNUTLS
+#error "This header should not be included without HAVE_GNUTLS defined"
+#endif
#include <rfb/SSecurity.h>
#include <rdr/InStream.h>
@@ -57,6 +59,4 @@ namespace rfb {
}
-#endif /* HAVE_GNUTLS */
-
#endif