summaryrefslogtreecommitdiff
path: root/src/lib/ecore_audio
diff options
context:
space:
mode:
authorJean Guyomarc'h <jean.guyomarch@gmail.com>2014-07-22 12:39:30 +0200
committerCedric BAIL <c.bail@partner.samsung.com>2014-07-22 12:39:48 +0200
commit6844a702dcb78bc0f44b8a5c557a077bd1582436 (patch)
treeb238bc89385d116c8b870424b5b8f50b56516501 /src/lib/ecore_audio
parent64dccac59c50400913994c6ea0f812414d8f7b97 (diff)
ecore_audio: fix crash on OSX when using Ecore_Audio with PulseAudio
Summary: Fix implicit function declaration of basename() which led to a violent crash when used. Reviewers: cedric, naguirre, raoulh, raster Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1162 Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
Diffstat (limited to 'src/lib/ecore_audio')
-rw-r--r--src/lib/ecore_audio/ecore_audio_obj_out_pulse.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/ecore_audio/ecore_audio_obj_out_pulse.c b/src/lib/ecore_audio/ecore_audio_obj_out_pulse.c
index 4b5986f7d8..276e835b20 100644
--- a/src/lib/ecore_audio/ecore_audio_obj_out_pulse.c
+++ b/src/lib/ecore_audio/ecore_audio_obj_out_pulse.c
@@ -6,6 +6,10 @@
6#include <stdio.h> 6#include <stdio.h>
7#include <string.h> 7#include <string.h>
8 8
9#if defined (__MacOSX__) || (defined (__MACH__) && defined (__APPLE__))
10# include <libgen.h>
11#endif
12
9#ifdef HAVE_FEATURES_H 13#ifdef HAVE_FEATURES_H
10#include <features.h> 14#include <features.h>
11#endif 15#endif