summaryrefslogtreecommitdiff
path: root/graphics/LDView/LDView_gcc47.patch
blob: 044d824c7a8be0546eb4e12fb270d940397a5742 (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
--- LDView.org/TCFoundation/TCArray.h	2008-05-18 23:16:21.000000000 +0200
+++ LDView/TCFoundation/TCArray.h	2015-02-04 11:38:48.394308398 +0100
@@ -2,6 +2,7 @@
 #define __TCARRAY_H__
 
 #include <TCFoundation/TCObject.h>
+#include <TCFoundation/mystring.h>
 
 typedef int (*TCArraySortFunction)(const void*, const void*);
 
diff -ru LDView.org/TCFoundation/mystring.h TCFoundation/mystring.h
--- LDView/TCFoundation/mystring.h	2011-05-26 06:51:55.000000000 +0200
+++ TCFoundation/mystring.h	2015-02-04 11:39:16.529307215 +0100
@@ -13,6 +13,10 @@
 #include <Qt/qstring.h>
 #endif // _QT
 
+#ifndef WIN32
+#include <unistd.h>
+#endif
+
 #ifdef _OSMESA
 #include <stdarg.h>
 #endif // _OSMESA