summaryrefslogtreecommitdiff
path: root/finch/gntmenuutil.h
diff options
context:
space:
mode:
authorGary Kramlich <grim@reaperworld.com>2020-08-13 21:10:22 -0500
committerGary Kramlich <grim@reaperworld.com>2020-08-13 21:10:22 -0500
commit0260c9509cc4927be20511665e1b7575a4ccea92 (patch)
tree71803b17fa38c019aa00ae0366a350dfc5819255 /finch/gntmenuutil.h
parent98fa3b6ae08e9fc8cff06333f219fe25df10861d (diff)
downloadpidgin-0260c9509cc4927be20511665e1b7575a4ccea92.tar.gz
create a global header for finch
create a global include file for finch protect all the finch header files and update the plugins to use the global header Reviewed at https://reviews.imfreedom.org/r/61/
Diffstat (limited to 'finch/gntmenuutil.h')
-rw-r--r--finch/gntmenuutil.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/finch/gntmenuutil.h b/finch/gntmenuutil.h
index f40ccadbd8..df39cec447 100644
--- a/finch/gntmenuutil.h
+++ b/finch/gntmenuutil.h
@@ -20,6 +20,10 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
*/
+#if !defined(FINCH_GLOBAL_HEADER_INSIDE) && !defined(FINCH_COMPILATION)
+# error "only <finch.h> may be included directly"
+#endif
+
#ifndef FINCH_MENUUTIL_H
#define FINCH_MENUUTIL_H