X-Git-Url: http://hgm.nubati.net/cgi-bin/gitweb.cgi?p=xboard.git;a=blobdiff_plain;f=backend.c;h=5ae5525bc14792f8ee0d7a8984b036c542dbdfd2;hp=9c49e05068782aac0e3d9b58390148ebea5b2d2d;hb=873f7b33a08877e546e16f63a3a70dae8b3633aa;hpb=5017dc767149c89922d8af7d46eb821a373eb2d0 diff --git a/backend.c b/backend.c index 9c49e050..5ae5525b 100644 --- a/backend.c +++ b/backend.c @@ -12899,6 +12899,11 @@ DisplayBothClocks() you have neither ftime nor gettimeofday. */ +/* VS 2008 requires the #include outside of the function */ +#if !HAVE_GETTIMEOFDAY && HAVE_FTIME +#include +#endif + /* Get the current time as a TimeMark */ void GetTimeMark(tm)