summaryrefslogtreecommitdiff
path: root/recipes/webkit/webkit-efl/fix-build-with-newer-evas.patch
blob: 6adf0dd24ba2274798d628d4a9330743b1566137 (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
--- git/WebCore/platform/graphics/IntPoint.h	2009-11-16 19:14:36.000000000 +0100
+++ webkit-efl/WebCore/platform/graphics/IntPoint.h	2010-02-26 10:32:48.000000000 +0100
@@ -33,6 +33,10 @@
 #include <QDataStream>
 #endif
 
+#if PLATFORM(EFL)
+#include <Evas.h>
+#endif
+
 #if PLATFORM(CG)
 typedef struct CGPoint CGPoint;
 #endif
@@ -55,12 +59,6 @@
 QT_END_NAMESPACE
 #elif PLATFORM(GTK)
 typedef struct _GdkPoint GdkPoint;
-#elif PLATFORM(EFL)
-typedef struct _Evas_Point Evas_Point;
-struct _Evas_Point{
-    int x;
-    int y;
-};
 #endif
 
 #if PLATFORM(WX)