/*****************************************************************************
* Preamble
*****************************************************************************/
-#include <stdlib.h> /* malloc(), free() */
-#include <string.h>
#include <errno.h> /* ENOMEM */
#include <ggi/ggi.h>
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include <vlc/vlc.h>
#include <vlc_interface.h>
#include <vlc_vout.h>
case 'q':
case 'Q':
case GIIUC_Escape:
- p_vout->p_libvlc->b_die = 1;
+ vlc_object_kill( p_vout->p_libvlc );
break;
default: