diff --git a/Code/lsgrmGraphOperations.h b/Code/lsgrmGraphOperations.h
index d3f6d8c80fa819e0956e2c7a2479ab276033b2b6..0cde4dc27ca580272d1233eb31edd3afaa9f1cf8 100644
--- a/Code/lsgrmGraphOperations.h
+++ b/Code/lsgrmGraphOperations.h
@@ -2,6 +2,7 @@
 #define __LSGRM_GRAPH_OPERATIONS_H
 #include "lsgrmHeader.h"
 #include "lsrmGraphOperations.h"
+#include "otbImage.h"
 #include "otbImageFileReader.h"
 
 namespace lsgrm