From: Leonardo Florez Date: Fri, 4 Nov 2016 02:00:38 +0000 (-0500) Subject: ... X-Git-Tag: v0.1~61^2 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=085b597d7b56e9776396d3a6639e3a9de7647d90;hp=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__ )