forked from enlightenment/efl
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:
parent
64dccac59c
commit
6844a702dc
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue