changeset 3033:2c17b008a532

MacOS target: build fixes
author nenolod@tiamat.local
date Wed, 11 Jul 2007 04:59:30 -0500
parents 1be4df6e4ae3
children e8ab8597ac77
files src/audacious/ui_urlopener.c src/audacious/util.c src/libid3tag/Makefile
diffstat 3 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/src/audacious/ui_urlopener.c	Tue Jul 10 20:16:54 2007 +0200
+++ b/src/audacious/ui_urlopener.c	Wed Jul 11 04:59:30 2007 -0500
@@ -39,10 +39,6 @@
 #include "platform/smartinclude.h"
 #include <errno.h>
 
-#ifdef HAVE_FTS_H
-#  include <fts.h>
-#endif
-
 #include "glade.h"
 #include "input.h"
 #include "main.h"
--- a/src/audacious/util.c	Tue Jul 10 20:16:54 2007 +0200
+++ b/src/audacious/util.c	Wed Jul 11 04:59:30 2007 -0500
@@ -40,6 +40,8 @@
 #include <errno.h>
 
 #ifdef HAVE_FTS_H
+#  include <sys/types.h>
+#  include <sys/stat.h>
 #  include <fts.h>
 #endif
 
@@ -859,6 +861,7 @@
 
 GdkImage *create_dblsize_image(GdkImage * img)
 {
+#ifdef GDK_WINDOWING_X11
     GdkImage *dblimg;
     register guint x, y;
 
@@ -961,6 +964,9 @@
     }
     }
     return dblimg;
+#else
+    return img;
+#endif
 }
 
 /**
--- a/src/libid3tag/Makefile	Tue Jul 10 20:16:54 2007 +0200
+++ b/src/libid3tag/Makefile	Wed Jul 11 04:59:30 2007 -0500
@@ -5,8 +5,6 @@
 
 LIBDIR = $(plugindir)
 
-LDFLAGS += -Wl,-export-dynamic
-
 LIBADD += $(GLIB_LIBS)
 
 CFLAGS += $(PICFLAGS) \