* Preamble
*****************************************************************************/
#include <errno.h> /* ENOMEM */
-#include <stdlib.h> /* malloc(), free() */
-#include <string.h>
+
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
#include <vlc/vlc.h>
-#include <vlc/intf.h>
-#include <vlc/vout.h>
+#include <vlc_interface.h>
+#include <vlc_vout.h>
#ifndef __linux__
# include <conio.h> /* for glide ? */
switch( (char)buf )
{
case 'q':
- p_vout->p_vlc->b_die = 1;
+ vlc_object_kill( p_vout->p_libvlc );
break;
default: