diff options
author | René Engelhard <rene@openoffice.org> | 2009-01-17 14:42:00 +0000 |
---|---|---|
committer | René Engelhard <rene@openoffice.org> | 2009-01-17 14:42:00 +0000 |
commit | 0144cb73a8f8533825c8623a7e0b65ae1193d367 (patch) | |
tree | 8daf02cf87476833fe45381d5724a196edc769dd /formula | |
parent | b9fa60279659583cb68d15048cdcd18c4773b588 (diff) |
#i98170# we need limits.h for (U)SHRT_MAX
Diffstat (limited to 'formula')
-rw-r--r-- | formula/inc/formula/tokenarray.hxx | 2 | ||||
-rw-r--r-- | formula/source/core/api/token.cxx | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/formula/inc/formula/tokenarray.hxx b/formula/inc/formula/tokenarray.hxx index c2641f4ca47f..5ba055156c80 100644 --- a/formula/inc/formula/tokenarray.hxx +++ b/formula/inc/formula/tokenarray.hxx @@ -36,6 +36,8 @@ #include <tools/solar.h> #include <com/sun/star/sheet/FormulaToken.hpp> +#include <limits.h> + namespace formula { diff --git a/formula/source/core/api/token.cxx b/formula/source/core/api/token.cxx index 021eb651e5ac..d80591c58abb 100644 --- a/formula/source/core/api/token.cxx +++ b/formula/source/core/api/token.cxx @@ -43,6 +43,7 @@ #include <cstdio> #include <string.h> +#include <limits.h> #include <tools/debug.hxx> #include "formula/token.hxx" |