25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-22 17:28:25 +01:00

mod_sip: Fix compilation without SIP support

Make sure the T() macro is also defined when ejabberd is compiled
without SIP support.

Fixes #3143.
This commit is contained in:
Holger Weiss 2020-01-11 20:27:16 +01:00
parent f341699250
commit 6531fbb0f3

View File

@ -27,6 +27,7 @@
-protocol({rfc, 3261}).
-include("logger.hrl").
-include("translate.hrl").
-ifndef(SIP).
-export([start/2, stop/1, depends/2, mod_options/1, mod_doc/0]).
@ -53,7 +54,6 @@ mod_options(_) ->
mod_doc/0]).
-include_lib("esip/include/esip.hrl").
-include("translate.hrl").
%%%===================================================================
%%% API