]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2347] Add missing <functional> include
authorMukund Sivaraman <muks@isc.org>
Wed, 8 Jan 2014 01:05:56 +0000 (06:35 +0530)
committerMukund Sivaraman <muks@isc.org>
Wed, 8 Jan 2014 01:06:02 +0000 (06:36 +0530)
This seems to be required on certain platforms (Visual Studio 2012) to
use std::bind1st, std::not_equal_to, etc. On other platforms, it may
have been transitively included.

src/lib/util/range_utilities.h

index 4d5b0bb916abc1a00c3105e5e6ee6def1a134866..4907b3015dd8bd0b88d2d428e9f6e3491f6d61ca 100644 (file)
@@ -17,6 +17,7 @@
 
 #include <stdlib.h>
 #include <algorithm>
+#include <functional>
 
 // This header contains useful methods for conduction operations on
 // a range of container elements. Currently the collection is limited,