From 9050aa1de02ae1cc1e8509832118010a29f377e1 Mon Sep 17 00:00:00 2001
From: Badlop
Date: Fri, 27 Aug 2010 15:36:29 +0200
Subject: [PATCH] Support exmpp's jid record, and require next exmpp release
(EXMPP-41)
---
README | 2 +-
doc/guide.html | 2 +-
doc/guide.tex | 2 +-
src/mod_sic.erl | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/README b/README
index c2eb589ad..dd79447d5 100644
--- a/README
+++ b/README
@@ -9,7 +9,7 @@ To compile ejabberd you need:
- GNU Make
- GCC
- Erlang/OTP R12B-5 or higher.
- - exmpp 0.9.5 or higher
+ - exmpp 0.9.6 or higher
- OpenSSL 0.9.8 or higher, for STARTTLS, SASL and SSL encryption.
- Zlib 1.2.3 or higher, for Stream Compression support
(XEP-0138). Optional.
diff --git a/doc/guide.html b/doc/guide.html
index cae1063ca..c242dbb77 100644
--- a/doc/guide.html
+++ b/doc/guide.html
@@ -344,7 +344,7 @@ as long as your system have all the dependencies.
GNU Make
GCC
Erlang/OTP R12B-5 or higher.
-exmpp 0.9.5 or higher
+exmpp 0.9.6 or higher
OpenSSL 0.9.8 or higher, for STARTTLS, SASL and SSL encryption.
Zlib 1.2.3 or higher, for Stream Compression support (XEP-0138). Optional.
Erlang mysql library. Optional. For MySQL authentication or storage. See section 3.2.1.
diff --git a/doc/guide.tex b/doc/guide.tex
index 6f8ee6b21..b2a3819b4 100644
--- a/doc/guide.tex
+++ b/doc/guide.tex
@@ -310,7 +310,7 @@ To compile \ejabberd{} on a `Unix-like' operating system, you need:
\item GNU Make
\item GCC
\item Erlang/OTP R12B-5 or higher.
-\item exmpp 0.9.5 or higher
+\item exmpp 0.9.6 or higher
\item OpenSSL 0.9.8 or higher, for STARTTLS, SASL and SSL encryption.
\item Zlib 1.2.3 or higher, for Stream Compression support (\xepref{0138}). Optional.
\item Erlang mysql library. Optional. For MySQL authentication or storage. See section \ref{compilemysql}.
diff --git a/src/mod_sic.erl b/src/mod_sic.erl
index 88f21d6e0..3a3f14b02 100644
--- a/src/mod_sic.erl
+++ b/src/mod_sic.erl
@@ -35,7 +35,7 @@
process_sm_iq/3]).
-include_lib("exmpp/include/exmpp.hrl").
--include_lib("exmpp/include/internal/exmpp_xmpp.hrl").
+-include_lib("exmpp/include/exmpp_jid.hrl").
-include("ejabberd.hrl").
start(Host, Opts) ->