Fix mod_log_chat and mod_cron compilation (thanks to Mathias Ertl)(#103)

This commit is contained in:
Badlop 2015-05-12 16:39:02 +02:00
parent be350628c7
commit 98ab39f962
2 changed files with 6 additions and 0 deletions

View File

@ -25,7 +25,11 @@
-include("ejabberd_http.hrl").
-include("ejabberd_web_admin.hrl").
-include("logger.hrl").
-ifdef(NO_EXT_LIB).
-include("xml.hrl").
-else.
-include_lib("p1_xml/include/xml.hrl").
-endif.
-record(task, {taskid, timerref, host, task}).

View File

@ -16,7 +16,9 @@
log_packet_send/3,
log_packet_receive/4]).
-ifndef(LAGER).
-define(LAGER, 1).
-endif.
-include("ejabberd.hrl").
-include("logger.hrl").