From: Paul Harness Subject: ftime problem solved To: djgpp AT sun DOT soe DOT clarkson DOT edu (djgpp) Date: Thu, 3 Feb 1994 13:01:49 +0000 (GMT) Typical isn't it? I send off my question, and then realise what the problem is. The ftime() problem is solved by including extern "C" in timeb.h as follows: #include struct timeb { time_t time; /* Seconds since the epoch */ unsigned short millitm; short timezone; short dstflag; }; #ifdef __cplusplus extern "C" { #endif extern int ftime(struct timeb *); #ifdef __cplusplus } #endif -- Paul Harness, | Internet: gapa83 AT udcf DOT gla DOT ac DOT uk Department of Physics and Astronomy, | University of Glasgow, | Tel +44-41-339-8855 ext 8359 Glasgow, G12 8QQ, SCOTLAND. | Fax +44-41-334-9029