Hi,

On Feb 27, 2015, at 11:03, Sven Eckelmann <[email protected]> wrote:

> From: Jakub Wilk <[email protected]>
> 
> ---
> This does not fix the problem that on systems which need to build libraries
> with PIC (like amd64), the build fails because (lib)aggfontfreetype.a is
> usually non-PIC and (lib)aggfontfreetype_pic.a would have to be used instead.


Don’t really see how some includes help with some non-PIC vs. PIC, but whatever.

Committed revision 2061.


> codecs/agg_svg_path_renderer.hh | 3 +++
> codecs/svg.cc                   | 3 +++
> lib/agg.hh                      | 2 ++
> 3 files changed, 8 insertions(+)
> 
> diff --git a/codecs/agg_svg_path_renderer.hh b/codecs/agg_svg_path_renderer.hh
> index 5632148..1595eaa 100644
> --- a/codecs/agg_svg_path_renderer.hh
> +++ b/codecs/agg_svg_path_renderer.hh
> @@ -19,6 +19,9 @@
> #ifndef AGG_SVG_PATH_RENDERER_INCLUDED
> #define AGG_SVG_PATH_RENDERER_INCLUDED
> 
> +#include <limits.h>
> +#include <stdlib.h>
> +
> #include "agg_path_storage.h"
> #include "agg_conv_transform.h"
> #include "agg_conv_stroke.h"
> diff --git a/codecs/svg.cc b/codecs/svg.cc
> index 7e4597d..ef287d5 100644
> --- a/codecs/svg.cc
> +++ b/codecs/svg.cc
> @@ -19,6 +19,9 @@
>  * Copyright (C) 2002-2005 Maxim Shemanarev (http://www.antigrain.com)
>  */
> 
> +#include <limits.h>
> +#include <stdlib.h>
> +
> #include "agg_basics.h"
> #include "agg_rendering_buffer.h"
> #include "agg_rasterizer_scanline_aa.h"
> diff --git a/lib/agg.hh b/lib/agg.hh
> index 03abf82..d59cb60 100644
> --- a/lib/agg.hh
> +++ b/lib/agg.hh
> @@ -16,6 +16,8 @@
>  * copyright holder ExactCODE GmbH Germany.
>  */
> 
> +#include <limits.h>
> +
> #include <agg_pixfmt_rgb.h>
> 
> #include <agg_rendering_buffer.h>
> -- 
> 2.1.4
> 

-- 
 ExactCODE GmbH, Lietzenburger Str. 42, DE-10789 Berlin
 DE Legal: Amtsgericht Berlin (Charlottenburg) HRB 105123B, Tax-ID#: DE251602478
 Managing Director: René Rebe
 http://exactcode.com | http://exactscan.com | http://ocrkit.com | 
http://t2-project.org | http://rene.rebe.de

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe exact-image

Reply via email to