Fix mod_log_chat and mod_cron compilation (thanks to Mathias Ertl)(#103)
This commit is contained in:
parent
be350628c7
commit
98ab39f962
|
@ -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}).
|
||||
|
||||
|
|
|
@ -16,7 +16,9 @@
|
|||
log_packet_send/3,
|
||||
log_packet_receive/4]).
|
||||
|
||||
-ifndef(LAGER).
|
||||
-define(LAGER, 1).
|
||||
-endif.
|
||||
|
||||
-include("ejabberd.hrl").
|
||||
-include("logger.hrl").
|
||||
|
|
Loading…
Reference in New Issue