aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Julien Brianceau <jbriance@cisco.com>2016-12-13 14:57:01 +0100
committerGravatar Julien Brianceau <jbriance@cisco.com>2016-12-13 14:57:11 +0100
commit7b220f3db55c3b7bd38059aa1a2dcf7f6a8f7402 (patch)
tree0d99fbac579a525a1da4d132bbe6f1e84404e10e
parent83c728a9402fe6a78af53ed471619eda3523d8f5 (diff)
Add missing include in embed.cc
This changes fixes "error C2039: 'getline': is not a member of 'std'" compilation error.
-rw-r--r--src/google/protobuf/compiler/js/embed.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/google/protobuf/compiler/js/embed.cc b/src/google/protobuf/compiler/js/embed.cc
index 5d7163fa..be2ffdd4 100644
--- a/src/google/protobuf/compiler/js/embed.cc
+++ b/src/google/protobuf/compiler/js/embed.cc
@@ -32,6 +32,7 @@
#include <cstdlib>
#include <fstream>
#include <iostream>
+#include <string>
const char output_file[] = "well_known_types_embed.cc";