From c0c8048b34f5c1f55706ed8df6703bdad6193c64 Mon Sep 17 00:00:00 2001
From: Mathieu Deltorre <mathieu.deltorre@c-s.fr>
Date: Thu, 15 May 2008 15:23:15 +0000
Subject: [PATCH] *extern C pour include openjpeg

---
 Code/IO/otbJPEG2000ImageIO.h | 2 ++
 1 file changed, 2 insertions(+)

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