From: malaterre Date: Tue, 18 Jan 2005 15:52:22 +0000 (+0000) Subject: BUG: Fix compilation on mingw X-Git-Tag: Version1.0.bp~263 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=fbf3fda5a04e43eeeadabbbec32605c2d72378b3;hp=83e08556218295a7c84cf631b63389f17322ac7a;p=gdcm.git BUG: Fix compilation on mingw --- diff --git a/src/gdcmDocument.cxx b/src/gdcmDocument.cxx index 73486bc7..9ddc8548 100644 --- a/src/gdcmDocument.cxx +++ b/src/gdcmDocument.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmDocument.cxx,v $ Language: C++ - Date: $Date: 2005/01/18 08:01:41 $ - Version: $Revision: 1.195 $ + Date: $Date: 2005/01/18 15:52:22 $ + Version: $Revision: 1.196 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -35,9 +35,11 @@ #include // For nthos: -#if defined(_MSC_VER) || defined(__BORLANDC__) +#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__MINGW32__) #include -#else +#endif + +#ifdef CMAKE_HAVE_NETINET_IN_H #include #endif