From f85ffefeb4721ffcee5bf203170ef6c928b4112d Mon Sep 17 00:00:00 2001 From: edwin Date: Fri, 22 Nov 2002 23:35:29 +0000 Subject: Update to fix build on -current PR: ports/45555 Submitted by: Horance Chou --- devel/swarm/files/patch-activity.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 devel/swarm/files/patch-activity.h (limited to 'devel/swarm/files') 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 + + -- cgit