You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
libebml/libebml-0.7.7-gcc43.patch

38 lines
1.1 KiB

diff -up libebml-0.7.7/ebml/EbmlEndian.h~ libebml-0.7.7/ebml/EbmlEndian.h
--- libebml-0.7.7/ebml/EbmlEndian.h~ 2008-01-08 22:53:31.000000000 +0100
+++ libebml-0.7.7/ebml/EbmlEndian.h 2008-01-08 22:53:31.000000000 +0100
@@ -39,6 +39,7 @@
#define LIBEBML_ENDIAN_H
#include <algorithm>
+#include <cstring>
#include "EbmlConfig.h" // contains _ENDIANESS_
diff -up libebml-0.7.7/ebml/EbmlBinary.h~ libebml-0.7.7/ebml/EbmlBinary.h
--- libebml-0.7.7/ebml/EbmlBinary.h~ 2008-01-08 22:50:40.000000000 +0100
+++ libebml-0.7.7/ebml/EbmlBinary.h 2008-01-08 22:50:40.000000000 +0100
@@ -38,6 +38,7 @@
#define LIBEBML_BINARY_H
#include <string>
+#include <cstring>
#include "EbmlTypes.h"
#include "EbmlElement.h"
diff -up libebml-0.7.7/ebml/c/libebml_t.h~ libebml-0.7.7/ebml/c/libebml_t.h
--- libebml-0.7.7/ebml/c/libebml_t.h~ 2008-01-08 22:53:02.000000000 +0100
+++ libebml-0.7.7/ebml/c/libebml_t.h 2008-01-08 22:53:02.000000000 +0100
@@ -123,9 +123,9 @@ typedef enum open_mode {
MODE_SAFE
} open_mode;
-#if !defined(min)
+/* #if !defined(min)
#define min(x,y) ((x)<(y) ? (x) : (y))
-#endif
+#endif */
#ifdef __cplusplus
}