summaryrefslogtreecommitdiffstats
path: root/common/rfb/CSecurityTLS.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/rfb/CSecurityTLS.h')
-rw-r--r--common/rfb/CSecurityTLS.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/rfb/CSecurityTLS.h b/common/rfb/CSecurityTLS.h
index a2bcc57f..9e5ed72c 100644
--- a/common/rfb/CSecurityTLS.h
+++ b/common/rfb/CSecurityTLS.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/CSecurityTLSBase.h>
#include <rfb/SSecurityVeNCrypt.h>
@@ -48,6 +50,4 @@ namespace rfb {
};
}
-#endif /* HAVE_GNUTLS */
-
#endif /* __C_SECURITY_TLS_H__ */