summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjacobkeeler <jacob.keeler@livioradio.com>2018-08-28 13:09:00 -0400
committerjacobkeeler <jacob.keeler@livioradio.com>2018-08-28 13:09:00 -0400
commit84113996315adc1424199e13b69137fcb269f294 (patch)
tree84f524ee9b6f2559c69d305146d4b54ecfc6cb5f
parent370c752cc6f7c27845c129c73a41d069323055f1 (diff)
downloadsdl_core-feature/boost_datetime_implementation.tar.gz
Reduce date_time boost header scopefeature/boost_datetime_implementation
-rw-r--r--src/components/include/utils/date_time.h2
-rw-r--r--src/components/utils/src/date_time.cc4
2 files changed, 4 insertions, 2 deletions
diff --git a/src/components/include/utils/date_time.h b/src/components/include/utils/date_time.h
index 3e649cfc28..17b4fafe38 100644
--- a/src/components/include/utils/date_time.h
+++ b/src/components/include/utils/date_time.h
@@ -33,7 +33,7 @@
#define SRC_COMPONENTS_INCLUDE_UTILS_DATE_TIME_H_
#include <stdint.h>
-#include "boost/date_time.hpp"
+#include "boost/date_time/posix_time/posix_time_duration.hpp"
namespace date_time {
diff --git a/src/components/utils/src/date_time.cc b/src/components/utils/src/date_time.cc
index 2802ed0f91..3ca6050b3f 100644
--- a/src/components/utils/src/date_time.cc
+++ b/src/components/utils/src/date_time.cc
@@ -30,9 +30,11 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
+#include "utils/date_time.h"
+
#include <stdint.h>
#include <sys/time.h>
-#include "utils/date_time.h"
+#include "boost/date_time/posix_time/posix_time.hpp"
namespace bpt = boost::posix_time;
using namespace boost::date_time;