Add missing #include, fixes the warning:
[mplayer/greg.git] / osdep / gettimeofday.c
blob74368981215a383cd9a6ea8c2acee80d4fbd7709
1 #include "config.h"
3 #include <sys/time.h>
4 #include <sys/timeb.h>
5 void gettimeofday(struct timeval* t,void* timezone)
6 { struct timeb timebuffer;
7 ftime( &timebuffer );
8 t->tv_sec=timebuffer.time;
9 t->tv_usec=1000*timebuffer.millitm;