changeset 3747:ffc8e51efe0c

fix some oopses
author William Pitcock <nenolod@atheme.org>
date Sun, 14 Oct 2007 03:50:08 -0500
parents d5580c6bca31
children 08e87e5051d8
files src/audacious/plugin.h src/audacious/util.h
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/audacious/plugin.h	Sun Oct 14 03:49:00 2007 -0500
+++ b/src/audacious/plugin.h	Sun Oct 14 03:50:08 2007 -0500
@@ -89,6 +89,8 @@
 
 typedef struct _InputPlayback InputPlayback;
 
+typedef GHashTable INIFile;
+
 #include "audacious/playlist.h"
 #include "audacious/input.h"
 #include "audacious/mime.h"
--- a/src/audacious/util.h	Sun Oct 14 03:49:00 2007 -0500
+++ b/src/audacious/util.h	Sun Oct 14 03:50:08 2007 -0500
@@ -37,9 +37,9 @@
 
 G_BEGIN_DECLS
 
-#define SWAP(a, b)      { a^=b; b^=a; a^=b; }
+#include "audacious/plugin.h"
 
-typedef GHashTable INIFile;
+#define SWAP(a, b)      { a^=b; b^=a; a^=b; }
 
 typedef gboolean(*DirForeachFunc) (const gchar * path,
                                    const gchar * basename,