diff --git a/coreapi/sipsetup.c b/coreapi/sipsetup.c
index a1eaa57893302d5cfeb9ca1d1267f2bbb5a15863..d6b459c5fa9d10e4e4acb70a70926ccc51cb2a6c 100644
--- a/coreapi/sipsetup.c
+++ b/coreapi/sipsetup.c
@@ -24,13 +24,19 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 #include "linphonecore.h"
 
 extern SipSetup linphone_sip_login;
+#if defined(ANDROID) || defined(IOS)
+static SipSetup *all_sip_setups[]={
+	&linphone_sip_login,
+	NULL
+};
+#else
 extern SipSetup linphone_sip_wizard;
-
 static SipSetup *all_sip_setups[]={
 	&linphone_sip_login,
 	&linphone_sip_wizard,
 	NULL
 };
+#endif
 
 static MSList *registered_sip_setups=NULL;