diff options
Diffstat (limited to 'common/rfb/SSecurityPlain.h')
-rw-r--r-- | common/rfb/SSecurityPlain.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/common/rfb/SSecurityPlain.h b/common/rfb/SSecurityPlain.h index 610ef5bd..ecdd618b 100644 --- a/common/rfb/SSecurityPlain.h +++ b/common/rfb/SSecurityPlain.h @@ -20,6 +20,14 @@ #ifndef __RFB_SSECURITYPLAIN_H__
#define __RFB_SSECURITYPLAIN_H__
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+#ifndef HAVE_GNUTLS
+#error "This header should not be included without HAVE_GNUTLS defined"
+#endif
+
#include <rfb/SConnection.h>
#include <rfb/SSecurity.h>
#include <rfb/SSecurityVeNCrypt.h>
|