aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel')
-rw-r--r--libcrystfel/src/libcrystfel-version.c.in2
-rw-r--r--libcrystfel/src/libcrystfel-version.h3
2 files changed, 5 insertions, 0 deletions
diff --git a/libcrystfel/src/libcrystfel-version.c.in b/libcrystfel/src/libcrystfel-version.c.in
index f9dc4238..1cde75f7 100644
--- a/libcrystfel/src/libcrystfel-version.c.in
+++ b/libcrystfel/src/libcrystfel-version.c.in
@@ -1,3 +1,5 @@
+#define LIBCRYSTFEL_VERSION_H
+
const char *libcrystfel_version_string()
{
return "@VCS_TAG@";
diff --git a/libcrystfel/src/libcrystfel-version.h b/libcrystfel/src/libcrystfel-version.h
index 7e3ac4f7..837b8299 100644
--- a/libcrystfel/src/libcrystfel-version.h
+++ b/libcrystfel/src/libcrystfel-version.h
@@ -1,2 +1,5 @@
+#ifndef LIBCRYSTFEL_VERSION_H
+#define LIBCRYSTFEL_VERSION_H
extern const char *libcrystfel_version_string(void);
extern const char *libcrystfel_licence_string(void);
+#endif