diff --git a/Plugin/CurvedBndDist.cpp b/Plugin/CurvedBndDist.cpp
index db449cd5e439f36faa686aec468d6ecc8e93dca2..10d9c5de973f8e5b9405eafe25029d3eb3430be3 100644
--- a/Plugin/CurvedBndDist.cpp
+++ b/Plugin/CurvedBndDist.cpp
@@ -9,9 +9,9 @@
 #include "MElement.h"
 #include "PViewDataList.h"
 #include "BasisFactory.h"
+#include "CurvedBndDist.h"
 
 #if defined(HAVE_OPTHOM)
-#include "CurvedBndDist.h"
 #include "OptHomIntegralBoundaryDist.h"
 #endif