use right header file to compile under Mingw32

v0.27.3
HumanDynamo 15 years ago
parent 81163717eb
commit bd4791c57a

@ -30,12 +30,18 @@ EXIV2_RCSID("@(#) $Id$")
// ***************************************************************************** // *****************************************************************************
// included header files // included header files
#ifdef _MSC_VER
// htonl method (sony_decrypt)
#ifdef _MSC_VER // MSVC case
# include "exv_msvc.h" # include "exv_msvc.h"
# include <winsock.h> # include <winsock.h>
#else #else
# include "exv_conf.h" # include "exv_conf.h"
# include <arpa/inet.h> // htonl (sony_decrypt) # ifdef WIN32 // MINGW32 case
# include <winsock2.h>
# else // LINUX case
# include <arpa/inet.h>
# endif
#endif #endif
#include "makernote_int.hpp" #include "makernote_int.hpp"

Loading…
Cancel
Save