diff options
author | fujiwara <fujiwara@debian.private> | 2013-06-12 12:22:00 +0200 |
---|---|---|
committer | fujiwara <fujiwara@debian.private> | 2013-06-12 12:22:00 +0200 |
commit | c16bf9a2b17f26c73b5be8aa9a7b4f3570b8f3c1 (patch) | |
tree | 00a8bc8468fcc6fb4614f2dc283587cc27fe60e0 /src/lib/cc | |
parent | [2992] Added errno check to fromStringstreamNumber() (diff) | |
download | kea-c16bf9a2b17f26c73b5be8aa9a7b4f3570b8f3c1.tar.xz kea-c16bf9a2b17f26c73b5be8aa9a7b4f3570b8f3c1.zip |
[2992] Linux requires climits to use LONG_MAX and LONG_MIN
Diffstat (limited to 'src/lib/cc')
-rw-r--r-- | src/lib/cc/data.cc | 1 | ||||
-rw-r--r-- | src/lib/cc/tests/data_unittests.cc | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/cc/data.cc b/src/lib/cc/data.cc index b23ae02d57..a9f7caa975 100644 --- a/src/lib/cc/data.cc +++ b/src/lib/cc/data.cc @@ -25,6 +25,7 @@ #include <string> #include <sstream> #include <cerrno> +#include <climits> #include <boost/algorithm/string.hpp> // for iequals diff --git a/src/lib/cc/tests/data_unittests.cc b/src/lib/cc/tests/data_unittests.cc index 61ab8fcb99..409c951cf8 100644 --- a/src/lib/cc/tests/data_unittests.cc +++ b/src/lib/cc/tests/data_unittests.cc @@ -15,6 +15,7 @@ #include <gtest/gtest.h> #include <boost/foreach.hpp> #include <boost/assign/std/vector.hpp> +#include <climits> #include <cc/data.h> |