Browse Source

Added missing include to satisfy certain versions of clang

Some compilers, such as PS4's clang, were giving errors such as:
C:\dev\protobuf\src\google/protobuf/parse_context.h(227,5): error : no type named 'uintptr_t' in namespace 'std'; did you mean simply 'uintptr_t'?
Adding the necessary include for integer types fixes these.
Parnic 6 years ago
parent
commit
fbe4ccccc5
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/google/protobuf/parse_context.h

+ 1 - 0
src/google/protobuf/parse_context.h

@@ -33,6 +33,7 @@
 
 
 #include <cstring>
 #include <cstring>
 #include <string>
 #include <string>
+#include <cstdint>
 
 
 #include <google/protobuf/io/coded_stream.h>
 #include <google/protobuf/io/coded_stream.h>
 #include <google/protobuf/io/zero_copy_stream.h>
 #include <google/protobuf/io/zero_copy_stream.h>