repo.or.cz
/
AROS.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
part revert commit 56211
[AROS.git]
/
tools
/
fd2inline
/
patches
/
timer.h.diff
blob
92a953292ace5b0cad943916745712606c8f5f5a
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;