blob: 40247177cb8061263df95e023ba440be5d09a527 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
diff -wbBur FreeMat-3.6/libs/libFreeMat/Malloc.cpp FreeMat-3.6.my/libs/libFreeMat/Malloc.cpp
--- FreeMat-3.6/libs/libFreeMat/Malloc.cpp 2008-03-14 18:43:10.000000000 +0300
+++ FreeMat-3.6.my/libs/libFreeMat/Malloc.cpp 2008-04-25 21:29:19.000000000 +0400
@@ -21,6 +21,7 @@
#include "Exception.hpp"
#include <stdlib.h>
#include <stdio.h>
+#include <string.h>
void* Malloc(int count) {
diff -wbBur FreeMat-3.6/libs/libFreeMat/Token.cpp FreeMat-3.6.my/libs/libFreeMat/Token.cpp
--- FreeMat-3.6/libs/libFreeMat/Token.cpp 2008-03-14 18:43:10.000000000 +0300
+++ FreeMat-3.6.my/libs/libFreeMat/Token.cpp 2008-04-25 21:31:33.000000000 +0400
@@ -2,6 +2,7 @@
#include "Serialize.hpp"
#include <iostream>
#include <errno.h>
+#include <limits.h>
// These must appear as sequential token numbers
string fm_reserved[22] = {
diff -wbBur FreeMat-3.6/libs/libFreeMat/Types.hpp FreeMat-3.6.my/libs/libFreeMat/Types.hpp
--- FreeMat-3.6/libs/libFreeMat/Types.hpp 2008-03-14 18:43:10.000000000 +0300
+++ FreeMat-3.6.my/libs/libFreeMat/Types.hpp 2008-04-25 21:28:26.000000000 +0400
@@ -20,7 +20,11 @@
#ifndef __Types_hpp__
#define __Types_hpp__
+#include <algorithm>
#include <string>
+#include <string.h>
+using namespace std;
+
#include <QVector>
#include <QtGlobal>
#include <QList>
|