libpurple/protocols/ircv3/purpleircv3parser.h

changeset 42229
605f8cba9704
parent 41881
7e1dd7e9efbb
child 42275
7568bf87e388
--- a/libpurple/protocols/ircv3/purpleircv3parser.h	Sat Jul 01 01:52:29 2023 -0500
+++ b/libpurple/protocols/ircv3/purpleircv3parser.h	Sat Jul 01 02:01:14 2023 -0500
@@ -15,6 +15,10 @@
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, see <https://www.gnu.org/licenses/>.
  */
+#if !defined(PURPLE_IRCV3_GLOBAL_HEADER_INSIDE) && \
+    !defined(PURPLE_IRCV3_COMPILATION)
+# error "only <libpurple/protocols/ircv3.h> may be included directly"
+#endif
 
 #ifndef PURPLE_IRCV3_PARSER_H
 #define PURPLE_IRCV3_PARSER_H

mercurial