Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(597)

Unified Diff: third_party/protobuf/patches/0012-add-map-include.patch

Issue 2974603002: [Protobuf] Add <map> include to workaround a gcc bug (Closed)
Patch Set: Add no-op change to mb.py Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/protobuf/README.chromium ('k') | third_party/protobuf/src/google/protobuf/descriptor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/protobuf/patches/0012-add-map-include.patch
diff --git a/third_party/protobuf/patches/0012-add-map-include.patch b/third_party/protobuf/patches/0012-add-map-include.patch
new file mode 100644
index 0000000000000000000000000000000000000000..b71ab9297b278eb9555897b5302896afe4d2b51c
--- /dev/null
+++ b/third_party/protobuf/patches/0012-add-map-include.patch
@@ -0,0 +1,11 @@
+diff -ru protobuf2/src/google/protobuf/descriptor.h protobuf/src/google/protobuf/descriptor.h
+--- protobuf2/src/google/protobuf/descriptor.h 2017-07-06 15:32:27.892104861 -0700
++++ protobuf/src/google/protobuf/descriptor.h 2017-07-06 15:19:07.042709476 -0700
+@@ -54,6 +54,7 @@
+ #ifndef GOOGLE_PROTOBUF_DESCRIPTOR_H__
+ #define GOOGLE_PROTOBUF_DESCRIPTOR_H__
+
++#include <map>
+ #include <memory>
+ #ifndef _SHARED_PTR_H
+ #include <google/protobuf/stubs/shared_ptr.h>
« no previous file with comments | « third_party/protobuf/README.chromium ('k') | third_party/protobuf/src/google/protobuf/descriptor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698