summaryrefslogtreecommitdiff
path: root/src/perl/common/module.h
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-07-29 09:17:53 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-07-29 09:17:53 +0000
commit6c2f9c685aaf4aa79c9ea3f29efe0c22aa0a98ee (patch)
tree0f6377555e2b9cdc881731fd06dc3723632150ac /src/perl/common/module.h
parent2d5edb8c4d56f75f4dab93929072cc2699ec5ccd (diff)
downloadirssi-6c2f9c685aaf4aa79c9ea3f29efe0c22aa0a98ee.zip
--enable-perl* -> --with-perl*. Added a new libfe_perl which handles /SCRIPT
commands. /RUN -> /SCRIPT LOAD, /PERLFLUSH -> /SCRIPT FLUSH, /PERL -> /SCRIPT EXEC. Added /SCRIPT UNLOAD, /SCRIPT LIST. Lots of cleanups. filename_complete() has extra argument for "default directory" which is searched if no path is given when completing. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1680 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/perl/common/module.h')
-rw-r--r--src/perl/common/module.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/perl/common/module.h b/src/perl/common/module.h
index 80d46b77..4920e1d0 100644
--- a/src/perl/common/module.h
+++ b/src/perl/common/module.h
@@ -1,11 +1,7 @@
-#include <EXTERN.h>
-#include <perl.h>
-#include <XSUB.h>
-
-#undef _
-#undef VERSION
+#define NEED_PERL_H
#define HAVE_CONFIG_H
#include "../module.h"
+#include <XSUB.h>
#include "network.h"
#include "levels.h"
@@ -27,6 +23,7 @@
#include "queries.h"
#include "nicklist.h"
+#include "perl/perl-core.h"
#include "perl/perl-common.h"
#include "perl/perl-signals.h"