Merge pull request #42 from mathiasertl/master

Fix includes for various modules
This commit is contained in:
badlop 2014-07-10 17:49:02 +02:00
commit 750170f27d
9 changed files with 19 additions and 10 deletions

0
atom_pubsub/ebin/.keepme Normal file
View File

View File

@ -7,8 +7,9 @@
-author('eric@ohmforce.com'). -author('eric@ohmforce.com').
-include("ejabberd.hrl"). -include("ejabberd.hrl").
-include("jlib.hrl"). -include("jlib.hrl").
-include("mod_pubsub/pubsub.hrl"). -include("pubsub.hrl").
-include("web/ejabberd_http.hrl"). -include("ejabberd_http.hrl").
-include("logger.hrl").
-export([process/2]). -export([process/2]).
process([Domain,User|_]=LocalPath, #request{auth = Auth} = Request)-> process([Domain,User|_]=LocalPath, #request{auth = Auth} = Request)->

View File

@ -7,8 +7,9 @@
-author('eric@ohmforce.com'). -author('eric@ohmforce.com').
-include("ejabberd.hrl"). -include("ejabberd.hrl").
-include("jlib.hrl"). -include("jlib.hrl").
-include("mod_pubsub/pubsub.hrl"). -include("pubsub.hrl").
-include("web/ejabberd_http.hrl"). -include("ejabberd_http.hrl").
-include("logger.hrl").
-export([process/2]). -export([process/2]).
process([Domain,User|_]=LocalPath, #request{auth = Auth} = Request)-> process([Domain,User|_]=LocalPath, #request{auth = Auth} = Request)->

View File

@ -24,6 +24,7 @@
-include("ejabberd.hrl"). -include("ejabberd.hrl").
-include("jlib.hrl"). -include("jlib.hrl").
-include("logger.hrl").
-define(DICT, dict). -define(DICT, dict).

View File

@ -84,6 +84,7 @@
-include("ejabberd.hrl"). -include("ejabberd.hrl").
-include("jlib.hrl"). -include("jlib.hrl").
-include("logger.hrl").
-record(state, {host, -record(state, {host,
sessions, sessions,

View File

@ -15,8 +15,9 @@
-include("ejabberd.hrl"). -include("ejabberd.hrl").
-include("jlib.hrl"). -include("jlib.hrl").
-include("web/ejabberd_http.hrl"). -include("logger.hrl").
-include("web/ejabberd_web_admin.hrl"). %for all the defines -include("ejabberd_http.hrl").
-include("ejabberd_web_admin.hrl"). %for all the defines
-define(LINK(L) , "/archive/" ++ L). -define(LINK(L) , "/archive/" ++ L).
%-define(P(Els), ?XE("p", Els)). %-define(P(Els), ?XE("p", Els)).

View File

@ -20,8 +20,10 @@
-include("ejabberd_commands.hrl"). -include("ejabberd_commands.hrl").
-include("ejabberd.hrl"). -include("ejabberd.hrl").
-include("web/ejabberd_http.hrl"). -include("ejabberd_http.hrl").
-include("web/ejabberd_web_admin.hrl"). -include("ejabberd_web_admin.hrl").
-include("logger.hrl").
-include("xml.hrl").
-record(task, {taskid, timerref, host, task}). -record(task, {taskid, timerref, host, task}).

View File

@ -19,8 +19,9 @@
-include("ejabberd.hrl"). -include("ejabberd.hrl").
-include("jlib.hrl"). -include("jlib.hrl").
-include("web/ejabberd_http.hrl"). -include("ejabberd_http.hrl").
-include("mod_muc/mod_muc_room.hrl"). -include("mod_muc_room.hrl").
-include("logger.hrl").
-include_lib("kernel/include/file.hrl"). -include_lib("kernel/include/file.hrl").
-define(PROCNAME, mod_muc_log_http). -define(PROCNAME, mod_muc_log_http).

View File

@ -87,6 +87,7 @@
-include("ejabberd.hrl"). -include("ejabberd.hrl").
-include("jlib.hrl"). -include("jlib.hrl").
-include("logger.hrl").
-record(profile, {us, fields}). -record(profile, {us, fields}).