The following message is a courtesy copy of an article
that has been posted to comp.emulators.ms-windows.wine as well.

[ Posted and mailed to wine-devel... ]

Adam Sacarny <[EMAIL PROTECTED]> writes:
> In file included from ./sysdeps.c:19:
> /usr/include/sys/resource.h:58: field `ru_utime' has incomplete type
> /usr/include/sys/resource.h:59: field `ru_stime' has incomplete type
> *** Error code 1
> This is on FreeBSD 3.3 (Yes, I know it's a bit out of date).
> The hard drive was making some funny sounds after the power failure, so
> maybe something's gone seriously screwy... but I doubt it.

This is caused by the following change to sysdeps.c: 

  revision 1.25
  date: 2000/06/04 01:35:44;  author: julliard;  state: Exp;  lines: +98 -0
  Ulrich Weigand <[EMAIL PROTECTED]>
  Moved stack switch handling (large stack) to sysdeps.c
  Enable exception dispatch while on large stack.

Fixed as follows:

ChangeLog:
  Add missing #include <sys/time.h>.

Index: sysdeps.c
===================================================================
RCS file: /home/wine/wine/scheduler/sysdeps.c,v
retrieving revision 1.25
diff -c -3 -p -r1.25 sysdeps.c
*** sysdeps.c   2000/06/04 01:35:44     1.25
--- sysdeps.c   2000/06/04 14:47:52
*************** static int *ph_errno = &h_errno;
*** 16,21 ****
--- 16,22 ----
  #include <signal.h>
  #include <stdio.h>
  #include <unistd.h>
+ #include <sys/time.h>
  #include <sys/resource.h>
  #ifdef HAVE_SYS_SYSCALL_H
  # include <sys/syscall.h>

Gerald
-- 
Gerald "Jerry" [EMAIL PROTECTED] http://www.dbai.tuwien.ac.at/~pfeifer/

Reply via email to