about summary refs log tree commit diff
path: root/sternenblog/index.h
diff options
context:
space:
mode:
Diffstat (limited to 'sternenblog/index.h')
-rw-r--r--sternenblog/index.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/sternenblog/index.h b/sternenblog/index.h
index 586d203..ae0a91b 100644
--- a/sternenblog/index.h
+++ b/sternenblog/index.h
@@ -1,9 +1,12 @@
 /*!
  * @file index.h
  * @brief Construction and destruction of entry indices
- *
- * Requires prior inclusion of core.h.
  */
+
+#ifndef STERNENBLOG_INDEX_H
+#define STERNENBLOG_INDEX_H
+
+#include "core.h"
 #include <stdbool.h>
 
 /*!
@@ -34,3 +37,5 @@ int make_index(const char *blog_dir, char *script_name, bool get_text, struct en
  * @param count size of the given array
  */
 void free_index(struct entry *entries[], int count);
+
+#endif