浏览代码

Add missing include in embed.cc

This changes fixes "error C2039: 'getline': is not a member of 'std'"
compilation error.
Julien Brianceau 8 年之前
父节点
当前提交
7b220f3db5
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/google/protobuf/compiler/js/embed.cc

+ 1 - 0
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";