diff options
| author | Krzysztof Kosi??ski <tweenk.pl@gmail.com> | 2009-02-26 21:28:12 +0000 |
|---|---|---|
| committer | tweenk <tweenk@users.sourceforge.net> | 2009-02-26 21:28:12 +0000 |
| commit | f1b7b6decc60830d3a0072f3287d63ef086c936e (patch) | |
| tree | 2d237781196c25b0db77771215b02364f791156a /src/main.cpp | |
| parent | Spellcheck, snap and filter translation (diff) | |
| download | inkscape-f1b7b6decc60830d3a0072f3287d63ef086c936e.tar.gz inkscape-f1b7b6decc60830d3a0072f3287d63ef086c936e.zip | |
Patch from Lubomir Rintel: fixes for GCC 4.4
(bzr r7380)
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp index bfee432ba..991a95add 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -28,6 +28,9 @@ #endif #include "path-prefix.h" +// This has to be included prior to anything that includes setjmp.h, it croaks otherwise +#include <png.h> + #include <gtk/gtkmessagedialog.h> #ifdef HAVE_IEEEFP_H @@ -114,8 +117,6 @@ using Inkscape::Extension::Internal::PrintWin32; #include "widgets/icon.h" #include "ui/widget/panel.h" - -#include <png.h> #include <errno.h> enum { |
