diff --git a/duckdb_build/third_party/thrift/thrift/transport/TTransport.h b/duckdb_build/third_party/thrift/thrift/transport/TTransport.h
--- a/duckdb_build/third_party/thrift/thrift/transport/TTransport.h
+++ b/duckdb_build/third_party/thrift/thrift/transport/TTransport.h
@@ -23,4 +23,5 @@
 #include "thrift/Thrift.h"
 #include "thrift/transport/TTransportException.h"
+#include <cstdint>
 #include <memory>
 #include <string>
