创建的win32 Console Application程序。
#include "stdafx.h"
#include <malloc.h>
#include <time.h> int main(int argc, char* argv[])
{  
struct timeval t; 
    if (gettimeofday(&t, NULL) == 0)

printf("Hello World!\n");
return 0;
}
error C2079: 't' uses undefined struct 'timeval'
 error C2065: 'gettimeofday' : undeclared identifier
出现以上错误,请问要如何设置。