about summary refs log tree commit diff
path: root/sternenblog/template.h
diff options
context:
space:
mode:
Diffstat (limited to 'sternenblog/template.h')
-rw-r--r--sternenblog/template.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/sternenblog/template.h b/sternenblog/template.h
index 24b9504..21ff38b 100644
--- a/sternenblog/template.h
+++ b/sternenblog/template.h
@@ -2,8 +2,6 @@
  * @file template.h
  * @brief Declarations of functions to be implemented by a sternenblog template
  *
- * Requires prior inclusion of core.h.
- *
  * The functions declared in template.h are called by `blog_index()`
  * and `blog_entry()` to generate the HTML document CGI responses
  * involving HTML (contrary to the RSS feed which is independent
@@ -20,6 +18,11 @@
  * * template_footer()
  */
 
+#ifndef STERNENBLOG_TEMPLATE_H
+#define STERNENBLOG_TEMPLATE_H
+
+#include "core.h"
+
 /*!
  * @brief (Meta) data about the page being served
  *
@@ -99,3 +102,5 @@ void template_footer(struct template_data data);
  * @see struct template_data
  */
 void template_main(struct template_data data);
+
+#endif