> I changed
> #include <sys/time.h>
> into
> #include <time.h>
> and it works!
>
> $ ./test
> Thu Jul 27 18:15:00 2006
>
> wftodm also works now!
Thanks. I'll update the patch.
> It has the following warnings, but I don't think they're serious.
Yep.
> In my Makefile I always had the problem that wftodm would work with
> dg, dm, mc and mr, but would fail with mc2 and mr2. When run
> manually, all the commands have no problem, but when mc2 and mr2 are
> put in a Makefile, they end with "error 192".
Well, wftodm is, hmm, very sparse. The `main' routine lacks a return
value; this might be the reason for it. Try to insert a `return 0' at
the very end of `main' (this is, right before the final closing brace
of this function), maybe this fixes the problem.
Werner
_______________________________________________
Cjk maillist - [email protected]
http://lists.ffii.org/mailman/listinfo/cjk