[tint] Add missing headers

Issue: tint:2042
Change-Id: Id65a42681a11ed33e75c3a8a1b1111cf18858d13
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/151622
Auto-Submit: Ben Clayton <bclayton@google.com>
Reviewed-by: James Price <jrprice@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
diff --git a/src/tint/lang/spirv/reader/ast_parser/spirv_tools_helpers_test.h b/src/tint/lang/spirv/reader/ast_parser/spirv_tools_helpers_test.h
index 2b2800b..80421af 100644
--- a/src/tint/lang/spirv/reader/ast_parser/spirv_tools_helpers_test.h
+++ b/src/tint/lang/spirv/reader/ast_parser/spirv_tools_helpers_test.h
@@ -15,6 +15,7 @@
 #ifndef SRC_TINT_LANG_SPIRV_READER_AST_PARSER_SPIRV_TOOLS_HELPERS_TEST_H_
 #define SRC_TINT_LANG_SPIRV_READER_AST_PARSER_SPIRV_TOOLS_HELPERS_TEST_H_
 
+#include <cstdint>
 #include <string>
 #include <vector>
 
diff --git a/src/tint/utils/socket/socket.cc b/src/tint/utils/socket/socket.cc
index d11624c..5ebf9ea 100644
--- a/src/tint/utils/socket/socket.cc
+++ b/src/tint/utils/socket/socket.cc
@@ -28,6 +28,7 @@
 #include <sys/socket.h>
 #include <sys/time.h>
 #include <unistd.h>
+#include <cstdio>
 #endif
 
 #if defined(_WIN32)