[BACK]Return to patch-viewer_scrollview.cpp CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / graphics / tesseract / patches

File: [cvs.NetBSD.org] / pkgsrc / graphics / tesseract / patches / Attic / patch-viewer_scrollview.cpp (download)

Revision 1.1, Mon Apr 29 21:31:12 2013 UTC (10 years, 9 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2

Add a number of includes hidden by libstdc++'s name space pollution.

$NetBSD: patch-viewer_scrollview.cpp,v 1.1 2013/04/29 21:31:12 joerg Exp $

--- viewer/scrollview.cpp.orig	2013-04-29 19:49:57.000000000 +0000
+++ viewer/scrollview.cpp
@@ -39,6 +39,7 @@ const int kMaxIntPairSize = 45;  // Hold
 #include <algorithm>
 #include <vector>
 #include <string>
+#include <cstdlib>
 #include <cstring>
 #include <climits>