X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcpPlugins%2FInterface%2FDirent.h;fp=lib%2FcpPlugins%2FInterface%2FDirent.h;h=7461f91e8b1d70c7c2638150093727ce4e5244d8;hb=085b597d7b56e9776396d3a6639e3a9de7647d90;hp=513779f81e91b6ff839008cbc3fdacba4e86dafa;hpb=a6a044f0189e499e78ddb14039fca21546b269b7;p=cpPlugins.git diff --git a/lib/cpPlugins/Interface/Dirent.h b/lib/cpPlugins/Interface/Dirent.h index 513779f..7461f91 100644 --- a/lib/cpPlugins/Interface/Dirent.h +++ b/lib/cpPlugins/Interface/Dirent.h @@ -30,6 +30,7 @@ // florez-l: use this file in windows environments #if defined( WIN32 ) || defined( _WIN32 ) || defined( __WIN32__ ) + /* * Define architecture flags so we don't need to include windows.h. * Avoiding windows.h makes it simpler to use windows sockets in conjunction @@ -840,6 +841,7 @@ dirent_set_errno( // florez-l: use the standard linux header #else // defined( WIN32 ) || defined( _WIN32 ) || defined( __WIN32__ ) +# include # include #endif // defined( WIN32 ) || defined( _WIN32 ) || defined( __WIN32__ )