aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel')
-rw-r--r--libcrystfel/src/image.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/libcrystfel/src/image.c b/libcrystfel/src/image.c
index 1baa33bc..aad5017c 100644
--- a/libcrystfel/src/image.c
+++ b/libcrystfel/src/image.c
@@ -27,6 +27,8 @@
*
*/
+#include <config.h>
+
#include <stdlib.h>
#include <assert.h>
#include <math.h>
@@ -34,8 +36,13 @@
#include <hdf5.h>
#ifdef HAVE_CBFLIB
+#ifdef HAVE_CBFLIB_CBF_H
#include <cbflib/cbf.h>
#endif
+#ifdef HAVE_CBF_CBF_H
+#include <cbf/cbf.h>
+#endif
+#endif
#include "image.h"
#include "utils.h"