diff options
Diffstat (limited to 'remoting')
-rw-r--r-- | remoting/protocol/message_decoder.h | 5 | ||||
-rw-r--r-- | remoting/protocol/util.h | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/remoting/protocol/message_decoder.h b/remoting/protocol/message_decoder.h index 8384141..70a1a07 100644 --- a/remoting/protocol/message_decoder.h +++ b/remoting/protocol/message_decoder.h @@ -11,7 +11,12 @@ #include "base/memory/ref_counted.h" #include "net/base/io_buffer.h" #include "remoting/base/compound_buffer.h" + +#if defined(USE_SYSTEM_PROTOBUF) +#include <google/protobuf/message_lite.h> +#else #include "third_party/protobuf/src/google/protobuf/message_lite.h" +#endif namespace remoting { namespace protocol { diff --git a/remoting/protocol/util.h b/remoting/protocol/util.h index a40a9aa..ebcd5e2 100644 --- a/remoting/protocol/util.h +++ b/remoting/protocol/util.h @@ -9,7 +9,12 @@ #define REMOTING_PROTOCOL_UTIL_H_ #include "net/base/io_buffer.h" + +#if defined(USE_SYSTEM_PROTOBUF) +#include <google/protobuf/message_lite.h> +#else #include "third_party/protobuf/src/google/protobuf/message_lite.h" +#endif namespace remoting { namespace protocol { |