diff options
author | Thomas White <taw@physics.org> | 2018-03-13 10:01:13 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2018-03-13 10:26:44 +0100 |
commit | ea8e7bc35e5c09096c04f5c269451a330d59c49b (patch) | |
tree | ed8fac715b989597e4f2815e5946eced89405a44 /libcrystfel/src | |
parent | 279ae2e0836a91f8bff0a225ceaf733d4e072aa7 (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/src')
-rw-r--r-- | libcrystfel/src/reflist-utils.c | 6 | ||||
-rw-r--r-- | libcrystfel/src/stream.c | 1 |
2 files changed, 4 insertions, 3 deletions
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" |