From: cristy Date: Sun, 31 May 2015 15:25:17 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~978 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6429104f639bd2d6270414cdc369652edbb3449c;p=imagemagick --- diff --git a/coders/jbig.c b/coders/jbig.c index 015751a41..938e7b9ed 100644 --- a/coders/jbig.c +++ b/coders/jbig.c @@ -67,7 +67,13 @@ #include "MagickCore/string-private.h" #include "MagickCore/module.h" #if defined(MAGICKCORE_JBIG_DELEGATE) +#if defined(__cplusplus) || defined(c_plusplus) +extern "C" { +#endif #include "jbig.h" +#if defined(__cplusplus) || defined(c_plusplus) +} +#endif #endif /*