浏览代码

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 年之前
父节点
当前提交
fbe4ccccc5
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/google/protobuf/parse_context.h

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

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