Mercurial > hg > orthanc
diff OrthancServer/DicomProtocol/DicomUserConnection.cpp @ 2340:b5a04d983647
fix mingw build
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 17 Jul 2017 22:35:42 +0200 |
parents | 174c3616ab6d |
children | 3ab96768d144 |
line wrap: on
line diff
--- a/OrthancServer/DicomProtocol/DicomUserConnection.cpp Mon Jul 17 19:19:08 2017 +0200 +++ b/OrthancServer/DicomProtocol/DicomUserConnection.cpp Mon Jul 17 22:35:42 2017 +0200 @@ -105,7 +105,8 @@ * but this string must be 256 bytes or less. * http://msdn.microsoft.com/en-us/library/windows/desktop/ms738527(v=vs.85).aspx **/ -#define HOST_NAME_MAX 256 +# define HOST_NAME_MAX 256 +# include <winsock.h> #endif