Browse Source

Add missing include guard to zip_writer.h

Michał Janiszewski 7 years ago
parent
commit
e1fde520e0
1 changed files with 5 additions and 0 deletions
  1. 5 0
      src/google/protobuf/compiler/zip_writer.h

+ 5 - 0
src/google/protobuf/compiler/zip_writer.h

@@ -60,6 +60,9 @@
 
 
 // Author: kenton@google.com (Kenton Varda)
 // Author: kenton@google.com (Kenton Varda)
 
 
+#ifndef GOOGLE_PROTOBUF_COMPILER_ZIP_WRITER_H__
+#define GOOGLE_PROTOBUF_COMPILER_ZIP_WRITER_H__
+
 #include <vector>
 #include <vector>
 #include <google/protobuf/stubs/common.h>
 #include <google/protobuf/stubs/common.h>
 #include <google/protobuf/io/zero_copy_stream.h>
 #include <google/protobuf/io/zero_copy_stream.h>
@@ -91,3 +94,5 @@ class ZipWriter {
 }  // namespace compiler
 }  // namespace compiler
 }  // namespace protobuf
 }  // namespace protobuf
 }  // namespace google
 }  // namespace google
+
+#endif  // GOOGLE_PROTOBUF_COMPILER_ZIP_WRITER_H__