diff options
author | Guy Harris <guy@alum.mit.edu> | 2006-09-21 17:39:17 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2006-09-21 17:39:17 +0000 |
commit | 2ac876197887a5db0fb5e927ea4e988f1a2c56f8 (patch) | |
tree | 710abb4bfdd277bf784c5e48f302dc8f37e38fb6 /gtk/voip_calls.c | |
parent | 18664a78036986a4e639840f2938144661f033c3 (diff) |
Include "rtp_player.h" in "voip_calls.c" if we're supporting the RTP
player, so that we get declartions of rtp_player_init() and
add_rtp_packet().
Constify the first argument to add_rtp_packet(), as it's passed a
pointer to a const value.
svn path=/trunk/; revision=19272
Diffstat (limited to 'gtk/voip_calls.c')
-rw-r--r-- | gtk/voip_calls.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk/voip_calls.c b/gtk/voip_calls.c index 650362ec31..08a7b68964 100644 --- a/gtk/voip_calls.c +++ b/gtk/voip_calls.c @@ -65,6 +65,12 @@ #include "alert_box.h" #include "simple_dialog.h" +#if GTK_MAJOR_VERSION >= 2 +#ifdef HAVE_LIBPORTAUDIO +#include "rtp_player.h" +#endif /* HAVE_LIBPORTAUDIO */ +#endif /* GTK_MAJOR_VERSION >= 2 */ + const char *voip_call_state_name[7]={ "CALL SETUP", "RINGING", |