From: Arseny S. <am...@ic...> - 2010-04-21 09:56:13
|
Hello Sam, > mingw defines useconds_t: > /usr/include/mingw/sys/types.h:typedef unsigned int useconds_t; > /usr/include/mingw/unistd.h:#include <sys/types.h> /* For useconds_t. */ Thanks for the hint. > the warnings about useconds_t & gettimeofday that you see appear to indicate > that you do not have the usr/include/mingw/ tree (or maybe you are not using it). Routine case of 'cygwin-hell' (see 'dll-hell'). I discovered that this file belongs mingw-runtime package. According to cygwin's setup I had mingw-runtime 3.9-2 and /usr/include/mingw/sys/types.h (as of 2006) without useconds_t. It didn't upgrade. Now when I tried to _deinstall_ mingw-runtime, I have mingw-runtime 3.18-1 and useconds_t in types.h. -- Arseny |