diff options
author | Will Thompson <will.thompson@collabora.co.uk> | 2012-01-31 16:58:02 +0000 |
---|---|---|
committer | Will Thompson <will.thompson@collabora.co.uk> | 2012-02-06 13:26:16 +0000 |
commit | 2f0be660cd161f5abcb2ab57331e85d0415415ea (patch) | |
tree | 45874fab4f18f59dfd39e72088f7df2d326f5617 /wocky/wocky-auth-handler.h | |
parent | 4c8a53c6d00231203cab1f9f14959825a2adedb3 (diff) |
Make #include <wocky/wocky.h> the only legal import.
Diffstat (limited to 'wocky/wocky-auth-handler.h')
-rw-r--r-- | wocky/wocky-auth-handler.h | 3 |
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 |