aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/indexers/taketwo.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2021-04-27 13:12:09 +0200
committerThomas White <taw@physics.org>2021-04-27 13:18:32 +0200
commitc66781ed4d8beb611a1155be540cffb3df7ce146 (patch)
tree2e1a724e711ed1446bde872bab9761be66fbf7a2 /libcrystfel/src/indexers/taketwo.c
parent7424f7d7190d221e5dedcdeadc2809ec8166292e (diff)
Rename libcrystfel's config.h to libcrystfel-config.h
This removes the big potential for confusion, which has happened several times (see e.g. 095cbebaf6). It also fixes in-tree builds with CMake (but seriously, always use out-of-tree builds). Fixes #2.
Diffstat (limited to 'libcrystfel/src/indexers/taketwo.c')
-rw-r--r--libcrystfel/src/indexers/taketwo.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libcrystfel/src/indexers/taketwo.c b/libcrystfel/src/indexers/taketwo.c
index 1bccf1e0..4b481e93 100644
--- a/libcrystfel/src/indexers/taketwo.c
+++ b/libcrystfel/src/indexers/taketwo.c
@@ -86,9 +86,7 @@
* * Clean up the mess (cleanup_taketwo_obs_vecs())
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include <libcrystfel-config.h>
#include <gsl/gsl_matrix.h>
#include <gsl/gsl_blas.h>