aboutsummaryrefslogtreecommitdiffstats
path: root/sharkd_session.c
diff options
context:
space:
mode:
authorJoão Valverde <joao.valverde@tecnico.ulisboa.pt>2017-05-29 22:23:49 +0100
committerJoão Valverde <j@v6e.pt>2017-05-30 01:56:07 +0000
commit1a8991e875f1e976e1fd0ed63e6e254548e57703 (patch)
treea2050a4031bf9970558a9225829da064b18218d5 /sharkd_session.c
parent7c2073a7e8ef76479b278fdb32533bf76d3f6896 (diff)
sharkd: Fix build using system Speex library (autotools)
Change-Id: I1798f3dc76704c646d67d11533f8dc32ebab7401 Reviewed-on: https://code.wireshark.org/review/21793 Petri-Dish: João Valverde <j@v6e.pt> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: João Valverde <j@v6e.pt>
Diffstat (limited to 'sharkd_session.c')
-rw-r--r--sharkd_session.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sharkd_session.c b/sharkd_session.c
index 6dc6f3b84d..842c32c5d8 100644
--- a/sharkd_session.c
+++ b/sharkd_session.c
@@ -64,7 +64,11 @@
#include <epan/addr_resolv.h>
#include <epan/dissectors/packet-rtp.h>
#include <ui/rtp_media.h>
+#ifdef HAVE_SPEEXDSP
+#include <speex/speex_resampler.h>
+#else
#include <codecs/speex/speex_resampler.h>
+#endif /* HAVE_SPEEXDSP */
#ifdef HAVE_GEOIP
# include <GeoIP.h>