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.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>