aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/cpp/util/port.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/cpp/util/port.h')
-rw-r--r--src/main/cpp/util/port.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/cpp/util/port.h b/src/main/cpp/util/port.h
index 393648ea04..6cb9823121 100644
--- a/src/main/cpp/util/port.h
+++ b/src/main/cpp/util/port.h
@@ -15,7 +15,8 @@
#define BAZEL_SRC_MAIN_CPP_UTIL_PORT_H_
#include <stddef.h> // For size_t on Linux, Darwin
-#include <stdint.h> // For size_t on Windows
+
+#include <cinttypes> // For size_t on Windows
// GCC-specific features
#if (defined(COMPILER_GCC3) || defined(__APPLE__)) && !defined(SWIG)