summaryrefslogtreecommitdiff
path: root/wocky/wocky-auth-handler.h
diff options
context:
space:
mode:
Diffstat (limited to 'wocky/wocky-auth-handler.h')
-rw-r--r--wocky/wocky-auth-handler.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/wocky/wocky-auth-handler.h b/wocky/wocky-auth-handler.h
index dfef4f9..b72b6c1 100644
--- a/wocky/wocky-auth-handler.h
+++ b/wocky/wocky-auth-handler.h
@@ -1,3 +1,6 @@
+#if !defined (WOCKY_H_INSIDE) && !defined (WOCKY_COMPILATION)
+# error "Only <wocky/wocky.h> can be included directly."
+#endif
#ifndef _WOCKY_AUTH_HANDLER_H
#define _WOCKY_AUTH_HANDLER_H