summaryrefslogtreecommitdiff
path: root/buffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'buffer.h')
-rw-r--r--buffer.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/buffer.h b/buffer.h
index 474202e..7761f6c 100644
--- a/buffer.h
+++ b/buffer.h
@@ -1,4 +1,5 @@
-#pragma once
+#ifndef _BUFFER_H
+#define _BUFFER_H
struct append_buffer {
char* buffer;
@@ -9,3 +10,5 @@ struct append_buffer {
void ab_append(struct append_buffer* ab, const char* string, int length);
void ab_free(struct append_buffer* ab);
+
+#endif