summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChristophe Romain <christophe.romain@process-one.net>2015-03-11 14:14:28 +0100
committerChristophe Romain <christophe.romain@process-one.net>2015-03-11 14:14:28 +0100
commitf77622067b80bd0e75400f7f5e4b1ae5f6884e8d (patch)
treed7a888400cdfea86fe57a73664c0c35d401279ad /include
parentAdd Redis backend for SM (diff)
Add packaging support for contributed modules
This is a preliminary version that is tested to work with the packaging branch of ejabberd-modules repository This version lacks automatic configuration include at runtime
Diffstat (limited to 'include')
-rw-r--r--include/jlib.hrl4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/jlib.hrl b/include/jlib.hrl
index e4c7ca64..73b83b1c 100644
--- a/include/jlib.hrl
+++ b/include/jlib.hrl
@@ -19,7 +19,11 @@
%%%----------------------------------------------------------------------
-include("ns.hrl").
+-ifdef(NO_EXT_LIB).
+-include("xml.hrl").
+-else.
-include_lib("p1_xml/include/xml.hrl").
+-endif.
-define(STANZA_ERROR(Code, Type, Condition),
#xmlel{name = <<"error">>,