Skip to content

Commit

Permalink
Added missing include to satisfy certain versions of clang
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
parnic authored and acozzette committed May 3, 2019
1 parent 15cf537 commit fbe4ccc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/google/protobuf/parse_context.h
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit fbe4ccc

Please sign in to comment.