On Thursday 26 June 2014 17:00:26 Joseph Southwell wrote:
> git master branch src/libcrypto.c has
> 
> #include <sys/time.h>
> 
> This needs to be changed to
> 
> #ifndef WIN32
> #include <sys/time.h>
> #endif
> 
> In order to compile successfully on windows.
> I have tested that this compiles on VS 2013 Windows SDK 7.1

The correct ways would be to check in ConfigureChecks.cmake for sys/time.h and 
time.h

and then have

#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#endif
#ifdef HAVE_TIME_H
#include <time.h>
#endif

which should be the correct way to do it for all platforms.


Can you create a patch for that?


        -- andreas


-- 
Andreas Schneider                   GPG-ID: CC014E3D
www.cryptomilk.org                [email protected]


Reply via email to