aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/termptyops.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/termptyops.h')
-rw-r--r--src/bin/termptyops.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/bin/termptyops.h b/src/bin/termptyops.h
index 8d11a41..23ff810 100644
--- a/src/bin/termptyops.h
+++ b/src/bin/termptyops.h
@@ -1,3 +1,6 @@
+#ifndef _TERMPTY_OPS_H__
+#define _TERMPTY_OPS_H__ 1
+
typedef enum _Termpty_Clear
{
TERMPTY_CLR_END,
@@ -20,3 +23,5 @@ void _termpty_reset_state(Termpty *ty);
void _termpty_cursor_copy(Termstate *state, Termstate *dest);
#define _term_txt_write(ty, txt) termpty_write(ty, txt, sizeof(txt) - 1)
+
+#endif