diff --git a/marchenko/marchenko.c b/marchenko/marchenko.c
index 405e766c0d5c57fd16501d37da32362b756760ef..d7d95c0f51b698d42421ebf983ac1604e6e6e8f5 100644
--- a/marchenko/marchenko.c
+++ b/marchenko/marchenko.c
@@ -53,7 +53,7 @@ Nfoc, float *xrcv, float *xsrc, int *xnx, float fxse, float fxsb, float dxs, flo
 nw, int nw_low, int nw_high,  int mode, int reci, int nshots, int *ixpos, int npos, double *tfft, int *isxcount, int
 *reci_xsrc,  int *reci_xrcv, float *ixmask, int verbose);
 
-void synthesiPosistions(int nx, int nt, int nxs, int nts, float dt, float *xsyn, int Nfoc, float *xrcv, float *xsrc, int *xnx,
+void synthesisPositions(int nx, int nt, int nxs, int nts, float dt, float *xsyn, int Nfoc, float *xrcv, float *xsrc, int *xnx,
 float fxse, float fxsb, float dxs, float dxsrc, float dx, int nshots, int *ixpos, int *npos, int *isxcount, int countmin, int reci, int verbose);
 
 int linearsearch(int *array, size_t N, int value);
diff --git a/marchenko/synthesis.c b/marchenko/synthesis.c
index f02b691f55dab2ab5c35cac0b6f5028242745006..4a8831315428229705ea54f843d5ee0458da2edd 100644
--- a/marchenko/synthesis.c
+++ b/marchenko/synthesis.c
@@ -11,6 +11,7 @@
 #include <math.h>
 #include <assert.h>
 #include <genfft.h>
+#include "par.h"
 
 int omp_get_max_threads(void);
 int omp_get_num_threads(void);