diff options
author | Gary Kramlich <grim@reaperworld.com> | 2020-08-13 21:10:22 -0500 |
---|---|---|
committer | Gary Kramlich <grim@reaperworld.com> | 2020-08-13 21:10:22 -0500 |
commit | 0260c9509cc4927be20511665e1b7575a4ccea92 (patch) | |
tree | 71803b17fa38c019aa00ae0366a350dfc5819255 /finch/gntconn.h | |
parent | 98fa3b6ae08e9fc8cff06333f219fe25df10861d (diff) | |
download | pidgin-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/gntconn.h')
-rw-r--r-- | finch/gntconn.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/finch/gntconn.h b/finch/gntconn.h index 46cfc3f24b..0fd104edd8 100644 --- a/finch/gntconn.h +++ b/finch/gntconn.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_CONN_H #define FINCH_CONN_H |