summaryrefslogtreecommitdiff
path: root/devel/swarm/files/patch-activity.h
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2002-11-22 23:35:29 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2002-11-22 23:35:29 +0000
commitbcad4353e363eeb987f90feaeca7d738e9176632 (patch)
tree627050ba9ccc600b0b96e6276ac6d08dc5a29a7b /devel/swarm/files/patch-activity.h
parentMaintainer update (diff)
Update to fix build on -current
PR: ports/45555 Submitted by: Horance Chou <horance@freedom.ie.cycu.edu.tw>
Diffstat (limited to '')
-rw-r--r--devel/swarm/files/patch-activity.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/devel/swarm/files/patch-activity.h b/devel/swarm/files/patch-activity.h
new file mode 100644
index 000000000000..9dae7df9ad24
--- /dev/null
+++ b/devel/swarm/files/patch-activity.h
@@ -0,0 +1,18 @@
+--- src/activity/activity.h.orig Thu Nov 21 12:13:38 2002
++++ src/activity/activity.h Thu Nov 21 12:13:53 2002
+@@ -462,6 +462,7 @@
+ #ifndef DEFINED_timeval_t
+ #define DEFINED_timeval_t
+
++typedef unsigned long timeval_t;
+ //T: Values of this type are used as keys when inserting actions into a
+ //T: schedule at a particular time, or for querying the current time value
+ //T: of a swarm or schedule during its execution. (The shorter name time_t
+@@ -478,7 +479,6 @@
+ //T: a containing schedule or swarm. (.. Currently, all this extended time
+ //T: unit support is unsupported, though there is an example of scheduling
+ //T: at subunit times in a GridTurtle test program.)
+-typedef unsigned long timeval_t;
+ #endif
+
+