aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
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 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">>,