--- a/src/include/OSL/platform.h
+++ b/src/include/OSL/platform.h
@@ -18,6 +18,7 @@
 
 #pragma once
 
+#include <cstdint>
 #include <cstring>
 #include <memory>
 
--- a/src/include/osl_pvt.h
+++ b/src/include/osl_pvt.h
@@ -4,6 +4,7 @@
 
 #pragma once
 
+#include <cstdint>
 #include <memory>
 
 #include <OSL/oslconfig.h>
