aboutsummaryrefslogtreecommitdiff
path: root/src/google/protobuf/compiler/js/embed.cc
diff options
context:
space:
mode:
authorJulien Brianceau <jbriance@cisco.com>2016-12-08 10:06:56 +0100
committerJulien Brianceau <jbriance@cisco.com>2016-12-08 10:06:56 +0100
commit867dbac820da8a9f524e58297503a6c64313dfd8 (patch)
tree79eef591c5debdd7f2783c5c6ac488ba59baa12d /src/google/protobuf/compiler/js/embed.cc
parentc836ad4dc7db4adf4b42a30474037f712d4f6875 (diff)
downloadprotobuf-867dbac820da8a9f524e58297503a6c64313dfd8.tar.gz
protobuf-867dbac820da8a9f524e58297503a6c64313dfd8.tar.bz2
protobuf-867dbac820da8a9f524e58297503a6c64313dfd8.zip
Add missing include in embed.cc
This changes fixes "use of undeclared identifier 'assert'" compilation error.
Diffstat (limited to 'src/google/protobuf/compiler/js/embed.cc')
-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 072cccad..5d7163fa 100644
--- a/src/google/protobuf/compiler/js/embed.cc
+++ b/src/google/protobuf/compiler/js/embed.cc
@@ -28,6 +28,7 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#include <cassert>
#include <cstdlib>
#include <fstream>
#include <iostream>