diff --git a/gtsam/base/timing.h b/gtsam/base/timing.h index d9ead33dd..7bd030ed0 100644 --- a/gtsam/base/timing.h +++ b/gtsam/base/timing.h @@ -20,12 +20,11 @@ #include #include #include +#include #include #include -// Enabling the new Boost timers introduces dependencies on other Boost -// libraries so this is disabled for now until we modify the build scripts -// to link each component or MATLAB wrapper with only the libraries it needs. +// Automatically use the new Boost timers if version is recent enough. #if BOOST_VERSION >= 104800 #define GTSAM_USING_NEW_BOOST_TIMERS #endif