#include <vlc_common.h>
#include <vlc_plugin.h>
-
-#ifdef HAVE_ALLOCA_H
-# include <alloca.h>
-#endif
+#include <vlc_charset.h>
#include <vlc_aout.h>
* wait forever until the device is available. Since this breaks the
* OSS spec, we immediately put it back to blocking mode if the
* operation was successful. */
- p_sys->i_fd = open( psz_device, O_WRONLY | O_NDELAY );
+ p_sys->i_fd = utf8_open( psz_device, O_WRONLY | O_NDELAY );
if( p_sys->i_fd < 0 )
{
msg_Err( p_aout, "cannot open audio device (%s)", psz_device );