summaryrefslogtreecommitdiff
path: root/libpurple/conversations.h
diff options
context:
space:
mode:
authorGary Kramlich <grim@reaperworld.com>2020-06-21 04:16:15 -0500
committerGary Kramlich <grim@reaperworld.com>2020-06-21 04:16:15 -0500
commit431bf1b82af7c6e8ce49c4214dfe6f5b5ee43615 (patch)
tree0fd6704edf87fa3944677b9464c119760efa9fe6 /libpurple/conversations.h
parentad0c6f025487a2c14d4c47bd24829c97f288638b (diff)
downloadpidgin-431bf1b82af7c6e8ce49c4214dfe6f5b5ee43615.tar.gz
Make it so only libpurple can directly include libpurple header files.
This is part of our on going effort to make it easier to develop against libpurple as well as making our filenames not part of our api. Make it so only libpurple can directly include libpurple header files. Testing Done: Just a normal compile to make sure everything builds again. Reviewed at https://reviews.imfreedom.org/r/8/
Diffstat (limited to 'libpurple/conversations.h')
-rw-r--r--libpurple/conversations.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libpurple/conversations.h b/libpurple/conversations.h
index cded479374..231013dde2 100644
--- a/libpurple/conversations.h
+++ b/libpurple/conversations.h
@@ -19,6 +19,10 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
*/
+#if !defined(PURPLE_GLOBAL_HEADER_INSIDE) && !defined(PURPLE_COMPILATION)
+# error "only <purple.h> may be included directly"
+#endif
+
#ifndef PURPLE_CONVERSATIONS_H
#define PURPLE_CONVERSATIONS_H
/**