From 74935e70b27db8ea8af9ea8ebddef438e1118d8c Mon Sep 17 00:00:00 2001
From: Stephan Seitz <stephan.seitz@fau.de>
Date: Mon, 17 Feb 2020 08:24:26 +0100
Subject: [PATCH] Add headers to module.tmpl.hpp

---
 src/pystencils_autodiff/backends/module.tmpl.hpp | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/pystencils_autodiff/backends/module.tmpl.hpp b/src/pystencils_autodiff/backends/module.tmpl.hpp
index 08bbffe..bf7b99c 100644
--- a/src/pystencils_autodiff/backends/module.tmpl.hpp
+++ b/src/pystencils_autodiff/backends/module.tmpl.hpp
@@ -7,5 +7,9 @@
 
 #pragma once
 
+{% for header in headers -%}
+#include {{ header }}
+{% endfor %}
+
 {{ declarations | join('\n\n') }}
 
-- 
GitLab