diff libpurple/plugins/perl/perl-common.h @ 18210:b8572b937c09

#include reorganizations to allow compiling with glib < 2.8 using the G_GNUC_NULL_TERMINATED define from internal.h
author Stu Tomlinson <stu@nosnilmot.com>
date Wed, 20 Jun 2007 18:23:49 +0000
parents 32c366eeeb99
children 4b1e2aefeb9d
line wrap: on
line diff
--- a/libpurple/plugins/perl/perl-common.h	Wed Jun 20 18:22:19 2007 +0000
+++ b/libpurple/plugins/perl/perl-common.h	Wed Jun 20 18:23:49 2007 +0000
@@ -9,6 +9,9 @@
 #include <EXTERN.h>
 #include <perl.h>
 
+/* XXX: perl defines it's own _ but I think it's safe to undef it */
+#undef _
+#include "internal.h"
 #include "plugin.h"
 #include "value.h"