summaryrefslogtreecommitdiffstats
path: root/src/lexer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lexer.h')
-rw-r--r--src/lexer.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lexer.h b/src/lexer.h
index 75c1b2f..19008d7 100644
--- a/src/lexer.h
+++ b/src/lexer.h
@@ -12,6 +12,9 @@
// See the License for the specific language governing permissions and
// limitations under the License.
+#ifndef NINJA_LEXER_H_
+#define NINJA_LEXER_H_
+
#include "string_piece.h"
// Windows may #define ERROR.
@@ -95,3 +98,4 @@ private:
const char* last_token_;
};
+#endif // NINJA_LEXER_H_