summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Wielaard <mark@klomp.org>2013-05-31 00:06:28 +0200
committerDavid Tardon <dtardon@redhat.com>2013-05-31 07:15:52 +0000
commit287d483edb0359aa52238e75750f61a75f532436 (patch)
tree6356c04cd88b7a208849f99bc987f70dbeaac3ef
parent1583e2117e9a87b3bca68e1b4af8d7aa5df10c23 (diff)
propacc.cxx include limits.h for USHRT_MAX.
Don't depend on accidental definition depending on the version of boost used. Change-Id: Ib26afdde895411bdf827e1af21e490b59ef7f2d5 Reviewed-on: https://gerrit.libreoffice.org/4111 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
-rw-r--r--basic/source/classes/propacc.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/basic/source/classes/propacc.cxx b/basic/source/classes/propacc.cxx
index 67cd65a8d729..c5ca85e870e6 100644
--- a/basic/source/classes/propacc.cxx
+++ b/basic/source/classes/propacc.cxx
@@ -23,6 +23,8 @@
#include <basic/sbstar.hxx>
#include <sbunoobj.hxx>
+#include <limits.h> // USHRT_MAX
+
using com::sun::star::uno::Reference;
using namespace com::sun::star;
using namespace com::sun::star::uno;