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>
This commit is contained in:
Jean Guyomarc'h 2014-07-22 12:39:30 +02:00 committed by Cedric BAIL
parent 64dccac59c
commit 6844a702dc
1 changed files with 4 additions and 0 deletions

View File

@ -6,6 +6,10 @@
#include <stdio.h>
#include <string.h>
#if defined (__MacOSX__) || (defined (__MACH__) && defined (__APPLE__))
# include <libgen.h>
#endif
#ifdef HAVE_FEATURES_H
#include <features.h>
#endif