home *** CD-ROM | disk | FTP | other *** search
/ Aminet 18 / aminetcdnumber181997.iso / Aminet / dev / gcc / fd2inl_src.lha / fd2inline-1.11 / patches / timer.h.diff < prev   
Text File  |  1996-09-01  |  419b  |  21 lines

  1. --- timer.h.orig    Wed Aug 30 16:13:01 1995
  2. +++ timer.h    Sat Aug 10 15:53:59 1996
  3. @@ -22,10 +22,17 @@
  4.  
  5.  #define TIMERNAME    "timer.device"
  6.  
  7. +#ifndef _SYS_TIME_H_
  8. +/* Use whatever was included first, standard (sys/time.h) or Amiga
  9. + * includes (jch). */
  10.  struct timeval {
  11.      ULONG tv_secs;
  12.      ULONG tv_micro;
  13.  };
  14. +#else
  15. +#define tv_secs  tv_sec
  16. +#define tv_micro tv_usec
  17. +#endif
  18.  
  19.  struct EClockVal {
  20.      ULONG ev_hi;
  21.