aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2018-03-13 10:01:13 +0100
committerThomas White <taw@physics.org>2018-03-13 10:26:44 +0100
commitea8e7bc35e5c09096c04f5c269451a330d59c49b (patch)
treeed8fac715b989597e4f2815e5946eced89405a44 /libcrystfel
parent279ae2e0836a91f8bff0a225ceaf733d4e072aa7 (diff)
Nicer way of getting Git revision
This will need a separate way to create the official releases (which shouldn't have Git revisions attached)
Diffstat (limited to 'libcrystfel')
-rw-r--r--libcrystfel/CMakeLists.txt1
-rw-r--r--libcrystfel/src/reflist-utils.c6
-rw-r--r--libcrystfel/src/stream.c1
3 files changed, 4 insertions, 4 deletions
diff --git a/libcrystfel/CMakeLists.txt b/libcrystfel/CMakeLists.txt
index ade08ed9..5b3fc14c 100644
--- a/libcrystfel/CMakeLists.txt
+++ b/libcrystfel/CMakeLists.txt
@@ -41,7 +41,6 @@ if(HAVE_FFTW)
endif(HAVE_FFTW)
set(LIBCRYSTFEL_HEADER
- ../version.h
src/hdf5-file.h
src/reflist.h
src/symmetry.h
diff --git a/libcrystfel/src/reflist-utils.c b/libcrystfel/src/reflist-utils.c
index 7ff78f52..54c467b3 100644
--- a/libcrystfel/src/reflist-utils.c
+++ b/libcrystfel/src/reflist-utils.c
@@ -27,18 +27,20 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <math.h>
#include <stdio.h>
#include <assert.h>
-
#include "reflist.h"
#include "cell.h"
#include "cell-utils.h"
#include "utils.h"
#include "reflist-utils.h"
#include "symmetry.h"
-#include "version.h"
/**
diff --git a/libcrystfel/src/stream.c b/libcrystfel/src/stream.c
index d7d997cf..0f4dcd6b 100644
--- a/libcrystfel/src/stream.c
+++ b/libcrystfel/src/stream.c
@@ -44,7 +44,6 @@
#include <sys/stat.h>
#include <fcntl.h>
-#include "version.h"
#include "cell.h"
#include "cell-utils.h"
#include "utils.h"