part revert commit 56211
[AROS.git] / tools / fd2inline / patches / timer.h.diff
blob92a953292ace5b0cad943916745712606c8f5f5a
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 @@
5 #define TIMERNAME "timer.device"
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;
14 +#else
15 +#define tv_secs tv_sec
16 +#define tv_micro tv_usec
17 +#endif
19 struct EClockVal {
20 ULONG ev_hi;