#if defined(__LIBVLC__)
# include "config.h"
-# include <vlc/vlc.h>
+
+# define __STDC_CONSTANT_MACROS 1
+# include <inttypes.h>
+
+# include <vlc_common.h>
/* some things need to be changed if this code is used inside VideoLan Filter Module */
# define _ATMO_VLC_PLUGIN_
-# define ATMO_BOOL vlc_bool_t
-# define ATMO_TRUE VLC_TRUE
-# define ATMO_FALSE VLC_FALSE
+# define ATMO_BOOL bool
+# define ATMO_TRUE true
+# define ATMO_FALSE false
#else
-// maximal Anzahl Kanäle...
+// maximal Anzahl Kanäle...
#define ATMO_NUM_CHANNELS 5
// capture width/height