X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=backend.c;h=5ae5525bc14792f8ee0d7a8984b036c542dbdfd2;hb=873f7b33a08877e546e16f63a3a70dae8b3633aa;hp=9c49e05068782aac0e3d9b58390148ebea5b2d2d;hpb=5017dc767149c89922d8af7d46eb821a373eb2d0;p=xboard.git diff --git a/backend.c b/backend.c index 9c49e05..5ae5525 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)