diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-03-27 14:21:27 +0300 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-03-27 14:21:27 +0300 |
commit | a83e5f18a2b6d9dc3196045867bcd842cfea3323 (patch) | |
tree | 5272d1159063abc10b92033f0a914aa2d36d06d2 /src/worker.c | |
parent | fdccb337ed73f14b204721cf464ca03a7eca49b6 (diff) | |
download | rspamd-a83e5f18a2b6d9dc3196045867bcd842cfea3323.tar.gz rspamd-a83e5f18a2b6d9dc3196045867bcd842cfea3323.zip |
* Add ability to build rspamd without perl support
* Fix creating of uinx socket
* Improve some build issues
Diffstat (limited to 'src/worker.c')
-rw-r--r-- | src/worker.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/worker.c b/src/worker.c index 02fcc8707..1f1548dd1 100644 --- a/src/worker.c +++ b/src/worker.c @@ -36,15 +36,15 @@ #include "modules.h" #include "message.h" +#ifndef WITHOUT_PERL #include <EXTERN.h> /* from the Perl distribution */ #include <perl.h> /* from the Perl distribution */ -#define TASK_POOL_SIZE 4095 +extern PerlInterpreter *perl_interpreter; +#endif static struct timeval io_tv; -extern PerlInterpreter *perl_interpreter; - static void write_socket (void *arg); static |