From acf425e82212179a27686ebc6a42e6021ea71e5c Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Fri, 7 Dec 2007 14:31:51 +0000 Subject: Include time.h on linux --- src/runscript.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/runscript.c b/src/runscript.c index 8b60c17c..e4089c21 100644 --- a/src/runscript.c +++ b/src/runscript.c @@ -48,6 +48,7 @@ #include #include #include +#include #include #ifdef __linux__ @@ -515,7 +516,7 @@ static bool svc_wait (rc_depinfo_t *depinfo, const char *svc) return (false); /* Some services don't have a timeout, like checkroot and checkfs */ - keywords = rc_deptree_depend (deptree, svc, "keywords"); + keywords = rc_deptree_depend (depinfo, svc, "keywords"); STRLIST_FOREACH (keywords, s, i) { if (strcmp (s, "notimeout") == 0) { forever = true; -- cgit v1.2.3