]> git.saurik.com Git - bison.git/blobdiff - data/location.cc
lalr1.cc: fix test suite portability
[bison.git] / data / location.cc
index f45f634e20b0dad26e1ea75c9912ec5732aa1855..92b6d0967fad7dfbaa8e1ebb3630b6c28ca00526 100644 (file)
@@ -29,9 +29,9 @@ b4_copyright([Positions for Bison parsers in C++],
 
 ]b4_cpp_guard_open([b4_dir_prefix[]position.hh])[
 
+# include <algorithm> // std::max
 # include <iostream>
 # include <string>
-# include <algorithm>
 
 ]b4_null_define[
 
@@ -159,8 +159,6 @@ b4_copyright([Locations for Bison parsers in C++],
 
 ]b4_cpp_guard_open([b4_dir_prefix[]location.hh])[
 
-# include <iostream>
-# include <string>
 # include "position.hh"
 
 ]b4_namespace_open[