summaryrefslogtreecommitdiff
path: root/src/login/HPMlogin.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/login/HPMlogin.h')
-rw-r--r--src/login/HPMlogin.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/login/HPMlogin.h b/src/login/HPMlogin.h
index 6bdc0fb7b..6e01eae01 100644
--- a/src/login/HPMlogin.h
+++ b/src/login/HPMlogin.h
@@ -4,6 +4,10 @@
#ifndef LOGIN_HPMLOGIN_H
#define LOGIN_HPMLOGIN_H
+#ifndef HERCULES_CORE
+#error You should never include HPMlogin.h from a plugin.
+#endif
+
#include "../common/cbasetypes.h"
#include "../common/HPM.h"