diff options
author | Christophe Romain <christophe.romain@process-one.net> | 2015-03-11 14:14:28 +0100 |
---|---|---|
committer | Christophe Romain <christophe.romain@process-one.net> | 2015-03-11 14:14:28 +0100 |
commit | f77622067b80bd0e75400f7f5e4b1ae5f6884e8d (patch) | |
tree | d7a888400cdfea86fe57a73664c0c35d401279ad /include/jlib.hrl | |
parent | Add 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/jlib.hrl')
-rw-r--r-- | include/jlib.hrl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/jlib.hrl b/include/jlib.hrl index e4c7ca641..73b83b1c2 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">>, |