Merge Irssi 0.8.16-rc1
[silc.git] / apps / irssi / src / perl / module.h
index e12482ab61fa49f9218acd94c2b72505115a5001..2fd151376e9077af736e4694d3dcb6316e5c1734 100644 (file)
@@ -1,3 +1,5 @@
+#include "common.h"
+
 #ifdef NEED_PERL_H
 #  include <EXTERN.h>
 #  ifndef _SEM_SEMUN_UNDEFINED
@@ -8,16 +10,9 @@
 #  undef _
 #  undef PACKAGE
 
-/* For compatibility with perl 5.004 and older */
-#  ifndef ERRSV
-#    define ERRSV GvSV(errgv)
-#  endif
-
 extern PerlInterpreter *my_perl; /* must be called my_perl or some perl implementations won't work */
 #endif
 
-#include "common.h"
-
 #define MODULE_NAME "perl/core"
 
 /* Change this every time when some API changes between irssi's perl module