File amarok-mp4.diff of Package kde3-amarok

--- amarok/src/metadata/mp4/mp4properties.cpp	2008-08-13 23:21:51.000000000 +0200
+++ amarok/src/metadata/mp4/mp4properties.cpp.new	2011-04-04 22:38:02.000000000 +0200
@@ -30,6 +30,8 @@
 #endif
 
 #include <stdint.h>
+#include <cstdlib>
+#include <cstring>
 
 #ifndef UINT64_TO_DOUBLE
 #define UINT64_TO_DOUBLE(a) ((double)((int64_t)(a)))
--- amarok/src/metadata/mp4/mp4tag.cpp	2008-08-13 23:21:51.000000000 +0200
+++ amarok/src/metadata/mp4/mp4tag.cpp.new	2011-04-04 22:47:12.000000000 +0200
@@ -26,6 +26,7 @@
 
 #include <tag.h>
 #include <stdint.h>
+#include <cstdlib>
 
 #ifdef HAVE_MP4V2_H
 #define USE_ITMF_TAGS
--- amarok/src/metadata/mp4/mp4file.cpp	2008-08-13 23:21:51.000000000 +0200
+++ amarok/src/metadata/mp4/mp4file.cpp.new	2011-04-04 22:45:35.000000000 +0200
@@ -32,6 +32,7 @@
 #include <audioproperties.h>
 
 #include <stdint.h>
+#include <cstdlib>
 
 #ifdef HAVE_MP4V2_H
 #define USE_ITMF_TAGS
--- amarok/src/metadata/mp4/taglib_mp4filetyperesolver.cpp      2008-08-13 23:21:51.000000000 +0200
+++ amarok/src/metadata/mp4/taglib_mp4filetyperesolver.cpp.new  2011-04-04 23:11:19.000000000 +0200
@@ -24,6 +24,7 @@
 
 #include "taglib_mp4filetyperesolver.h"
 #include "mp4file.h"
+#include <string.h>
 
 TagLib::File *MP4FileTypeResolver::createFile(const char *fileName,
         bool readProperties,
openSUSE Build Service is sponsored by