diff libpurple/protocols/jabber/jabber.h @ 25559:d5d3efbfcf30

Fix some compilation problems when USE_FARSIGHT isn't defined.
author Evan Schoenberg <evan.s@dreskin.net>
date Sat, 29 Dec 2007 17:45:47 +0000
parents 60f5abc6cf0c
children f5bcb58bdf56
line wrap: on
line diff
--- a/libpurple/protocols/jabber/jabber.h	Sat Dec 29 06:41:04 2007 +0000
+++ b/libpurple/protocols/jabber/jabber.h	Sat Dec 29 17:45:47 2007 +0000
@@ -55,6 +55,7 @@
 #include "dnssrv.h"
 #include "roomlist.h"
 #include "sslconn.h"
+#include "media.h"
 
 #include "jutil.h"
 #include "xmlnode.h"
@@ -259,5 +260,9 @@
 GList *jabber_actions(PurplePlugin *plugin, gpointer context);
 void jabber_register_commands(void);
 void jabber_init_plugin(PurplePlugin *plugin);
+
+#ifdef USE_FARSIGHT
 PurpleMedia *jabber_media_initiate(PurpleConnection *gc, const char *who, PurpleMediaStreamType type);
+#endif
+
 #endif /* _PURPLE_JABBER_H_ */