summaryrefslogtreecommitdiff
path: root/editor.h
diff options
context:
space:
mode:
Diffstat (limited to 'editor.h')
-rw-r--r--editor.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/editor.h b/editor.h
index 578a91e..8b42b7f 100644
--- a/editor.h
+++ b/editor.h
@@ -1,4 +1,5 @@
-#pragma once
+#ifndef _EDITOR_H
+#define _EDITOR_H
#include <time.h>
#include "buffer.h"
@@ -33,3 +34,5 @@ void editor_scroll(struct editor_state* editor);
void editor_draw_rows(struct editor_state* editor, struct append_buffer* buffer);
void editor_draw_status_bar(struct editor_state* editor, struct append_buffer* buffer);
void editor_draw_message_bar(struct editor_state* editor, struct append_buffer* buffer);
+
+#endif