# HG changeset patch # User jwe # Date 785107673 0 # Node ID 28e2752228730ed1f3581f383349145a8152adca # Parent be867ddbe4aaef3fd65c4f929c19457fbcacf880 [project @ 1994-11-17 21:27:53 by jwe] diff --git a/src/timefns.cc b/src/timefns.cc --- a/src/timefns.cc +++ b/src/timefns.cc @@ -38,6 +38,14 @@ #define RUSAGE_SELF 0 #endif +#if defined (HAVE_GETRUSAGE) +extern "C" +{ + int getrusage (); +} +#endif + + DEFUN ("clock", Fclock, Sclock, 1, 0, "clock (): return current date and time in vector with elements\n\ \n\