Files
MINGW-packages/mingw-w64-inkscape/inkscape-0.48.4-headers-fix.patch
2014-03-02 11:41:56 +04:00

23 lines
699 B
Diff

--- inkscape-0.48.4/src/prefix.h.orig 2014-01-15 21:39:11.089400000 +0400
+++ inkscape-0.48.4/src/prefix.h 2014-01-15 21:39:17.126600000 +0400
@@ -120,6 +120,7 @@
#ifdef __WIN32__
+#include <windows.h>
#include <glibmm/ustring.h>
Glib::ustring win32_getExePath();
--- inkscape-0.48.4/src/prefix.cpp.orig 2014-01-15 21:39:38.873000000 +0400
+++ inkscape-0.48.4/src/prefix.cpp 2014-01-15 21:39:50.120600000 +0400
@@ -428,9 +428,6 @@
* Provide a similar mechanism for Win32. Enable a macro,
* WIN32_DATADIR, that can look up subpaths for inkscape resources
*/
-
-#include <windows.h>
-#include <glibmm/ustring.h>
/**
* Return the directory of the .exe that is currently running