summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/cetris.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/cetris.h b/lib/cetris.h
index dc92d83..49faf87 100644
--- a/lib/cetris.h
+++ b/lib/cetris.h
@@ -1,3 +1,6 @@
+#ifndef CETRIS_H
+#define CETRIS_H
+
#include <assert.h>
#include <stdbool.h>
#include <stdint.h>
@@ -681,3 +684,5 @@ void rotate_matrix(cetris_game *g, piece_matrix *m, bool clockwise) {
}
}
}
+
+#endif /* CETRIS_H */