Replace use of deprecated C Standard library headers in C++ code.
Change-Id: I9fa6630c7e4bdb2897df34d417635d8c7d8253bc
Signed-off-by: Tyler Chatow <tchatow@gmail.com>
diff --git a/aos/time/time.cc b/aos/time/time.cc
index 89f1c4d..697770c 100644
--- a/aos/time/time.cc
+++ b/aos/time/time.cc
@@ -1,10 +1,9 @@
#include "aos/time/time.h"
-#include <inttypes.h>
-#include <string.h>
-
#include <algorithm>
#include <chrono>
+#include <cinttypes>
+#include <cstring>
#include <ctime>
#include <iomanip>
diff --git a/aos/time/time.h b/aos/time/time.h
index 36c7ad2..37ff3a8 100644
--- a/aos/time/time.h
+++ b/aos/time/time.h
@@ -1,11 +1,11 @@
#ifndef AOS_TIME_H_
#define AOS_TIME_H_
-#include <stdint.h>
#include <sys/time.h>
-#include <time.h>
#include <chrono>
+#include <cstdint>
+#include <ctime>
#include <optional>
#include <ostream>
#include <thread>