diff --git a/Code/IO/otbJPEG2000ImageIO.h b/Code/IO/otbJPEG2000ImageIO.h
index fccd87fb2ebc0ebd8d5121829db10f3719893886..ed0b33e987ae16eb5b35b362fa7b02082542a983 100755
--- a/Code/IO/otbJPEG2000ImageIO.h
+++ b/Code/IO/otbJPEG2000ImageIO.h
@@ -24,9 +24,9 @@
 #define USE_OPJ_DEPRECATED
 #endif
 
-//extern "C" {
+extern "C" {
 #include "openjpeg.h"
-//}
+}
 
 namespace otb
 {