LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File hydrogen-gcc43-fixes.diff of Package hydrogen (Project openSUSE:11.4)

--- src/gui/DrumkitManager.cpp-dist	2007-10-22 15:40:22.000000000 +0200
+++ src/gui/DrumkitManager.cpp	2007-10-22 15:40:43.000000000 +0200
@@ -22,6 +22,7 @@
  *
  */
 #include <qcursor.h>
+#include <cstdlib>
 
 #include "config.h"
 #include "Skin.h"
--- src/gui/HydrogenApp.cpp-dist	2007-10-22 15:42:28.000000000 +0200
+++ src/gui/HydrogenApp.cpp	2007-10-22 15:42:42.000000000 +0200
@@ -24,6 +24,7 @@
  *  application bundles (2005/01/06 Jonathan Dempsey)
  */
 
+#include <cstdlib>
 #include "HydrogenApp.h"
 #include "Skin.h"
 
--- src/gui/main.cpp-dist	2007-10-22 15:45:15.000000000 +0200
+++ src/gui/main.cpp	2007-10-22 15:45:27.000000000 +0200
@@ -43,6 +43,7 @@
 #include "lib/Exception.h"
 
 #include <iostream>
+#include <cstdlib>
 using namespace std;
 
 void showInfo();
--- src/lib/drivers/OssDriver.cpp-dist	2007-10-22 15:33:15.000000000 +0200
+++ src/lib/drivers/OssDriver.cpp	2007-10-22 15:37:34.000000000 +0200
@@ -30,6 +30,7 @@
 #include "../Preferences.h"
 
 #include <pthread.h>
+#include <cstring>
 
 audioProcessCallback ossDriver_audioProcessCallback;
 bool ossDriver_running;
--- src/lib/FLACFile.cpp-dist	2007-10-22 15:37:04.000000000 +0200
+++ src/lib/FLACFile.cpp	2007-10-22 15:37:22.000000000 +0200
@@ -27,6 +27,7 @@
 
 #include <vector>
 #include <fstream>
+#include <cstring>
 
 #ifdef FLAC_SUPPORT
 
--- src/tools/HydrogenPlayer.cpp-dist	2007-10-22 15:38:34.000000000 +0200
+++ src/tools/HydrogenPlayer.cpp	2007-10-22 15:38:44.000000000 +0200
@@ -28,6 +28,7 @@
 #include <iostream>
 #include <stdio.h>
 #include <string>
+#include <cstdlib>
 
 #include "lib/Hydrogen.h"
 #include "lib/LocalFileMng.h"