Update of /cvsroot/pure-data/externals/ggee/signal In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18503/ggee/signal
Modified Files: rtin~.c Log Message: hd-clear (NT)
Index: rtin~.c =================================================================== RCS file: /cvsroot/pure-data/externals/ggee/signal/rtin~.c,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** rtin~.c 17 Jun 2002 10:13:56 -0000 1.1.1.1 --- rtin~.c 23 Aug 2004 03:48:56 -0000 1.2 *************** *** 1,14 **** /* (C) Guenter Geiger geiger@epy.co.at */
! #include <sys/types.h> ! #include <sys/stat.h> ! #include <fcntl.h> ! #include <sys/time.h> ! #include <unistd.h> ! ! // int gettimeofday(struct timeval *tv, struct timezone *tz); ! !
#include "math.h" --- 1,19 ---- /* (C) Guenter Geiger geiger@epy.co.at */
+ #include <sys/types.h> + #include <sys/stat.h> + #include <fcntl.h> + #include <sys/time.h> + #include <unistd.h>
! #ifdef NT ! #include <sys/timeb.h> ! void gettimeofday(struct timeval* t,void* timezone) ! { struct timeb timebuffer; ! ftime( &timebuffer ); ! t->tv_sec=timebuffer.time; ! t->tv_usec=1000*timebuffer.millitm; ! } ! #endif
#include "math.h"