From bd4791c57a1d25ea8e308c2b5a2e93447030d28e Mon Sep 17 00:00:00 2001 From: HumanDynamo Date: Fri, 14 May 2010 06:11:56 +0000 Subject: [PATCH] use right header file to compile under Mingw32 --- src/makernote.cpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/makernote.cpp b/src/makernote.cpp index aa48e4d7..4a09be8e 100644 --- a/src/makernote.cpp +++ b/src/makernote.cpp @@ -30,12 +30,18 @@ EXIV2_RCSID("@(#) $Id$") // ***************************************************************************** // included header files -#ifdef _MSC_VER + +// htonl method (sony_decrypt) +#ifdef _MSC_VER // MSVC case # include "exv_msvc.h" # include #else # include "exv_conf.h" -# include // htonl (sony_decrypt) +# ifdef WIN32 // MINGW32 case +# include +# else // LINUX case +# include +# endif #endif #include "makernote_int.hpp"