LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File fix-aliasing.diff of Package kdemultimedia3 (Project KDE:KDE3)

--- kscd/libwm/audio/audio.c	2009/11/22 09:09:11	1.1
+++ kscd/libwm/audio/audio.c	2009/11/22 09:09:27
@@ -5,6 +5,16 @@
 struct audio_oops* setup_arts(const char *dev, const char *ctl);
 struct audio_oops* setup_alsa(const char *dev, const char *ctl);
 
+#ifdef USE_ARTS
+struct audio_oops* setup_arts(const char *dev, const char *ctl);
+#endif
+#if defined(HAVE_ARTS_LIBASOUND2)
+struct audio_oops* setup_alsa(const char *dev, const char *ctl);
+#endif
+#ifdef USE_SUN_AUDIO
+struct audio_oops* setup_sun_audio(const char *dev, const char *ctl);
+#endif
+
 struct audio_oops* setup_soundsystem(const char* ss, const char* dev, const char* ctl)
 {
   if(!ss) {
--- kscd/libwm/plat_linux_cdda.c	2009/11/22 09:09:20	1.1
+++ kscd/libwm/plat_linux_cdda.c	2009/11/22 09:09:27
@@ -51,6 +51,7 @@
 #include <unistd.h>
 #include <errno.h>
 #include <string.h>
+#include <stdlib.h>
 
 #include "include/wm_struct.h"
 #include "include/wm_cdda.h"