[GWP-ASan] Fixed issue with c++ standard library dependency. am: e3e2637d91 am: f5ff910907 am: 0089c75d3e
am: 1d4b19a5f1
Change-Id: I8911b15bb68c23f68f09be3001a5a41fb70776bc
diff --git a/gwp_asan/random.cpp b/gwp_asan/random.cpp
index 625973c..67f4a22 100644
--- a/gwp_asan/random.cpp
+++ b/gwp_asan/random.cpp
@@ -8,7 +8,7 @@
#include "gwp_asan/random.h"
-#include <ctime>
+#include <time.h>
namespace gwp_asan {
uint32_t getRandomUnsigned32() {
diff --git a/gwp_asan/random.h b/gwp_asan/random.h
index a71f3e5..5fcf30d 100644
--- a/gwp_asan/random.h
+++ b/gwp_asan/random.h
@@ -9,7 +9,7 @@
#ifndef GWP_ASAN_RANDOM_H_
#define GWP_ASAN_RANDOM_H_
-#include <cstdint>
+#include <stdint.h>
namespace gwp_asan {
// xorshift (32-bit output), extremely fast PRNG that uses arithmetic operations