Mercurial > hg > xmms-sid
diff src/xs_support.h @ 532:bc548249464a
Audacious glue.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 20 Feb 2007 22:03:01 +0000 |
parents | fe8b41abd923 |
children | d609d0ece252 |
line wrap: on
line diff
--- a/src/xs_support.h Tue Feb 20 20:48:01 2007 +0000 +++ b/src/xs_support.h Tue Feb 20 22:03:01 2007 +0000 @@ -12,6 +12,14 @@ #include <glib.h> #include <stdio.h> +#ifdef AUDACIOUS_PLUGIN +#include <audacious/plugin.h> +#include <audacious/output.h> +#include <audacious/util.h> +#else +#include <xmms/plugin.h> +#endif + #ifdef HAVE_ASSERT_H #include <assert.h> #else @@ -30,15 +38,11 @@ #include <memory.h> #endif -#ifndef HAVE_FSEEKO -#define fseeko fseek -#define ftello ftell -#endif - /* VFS replacement functions */ #ifdef __AUDACIOUS_NEWVFS__ +#include <audacious/vfs.h> #define t_xs_file VFSFile #define xs_fopen(a,b) vfs_fopen(a,b) #define xs_fclose(a) vfs_fclose(a)