diff --git a/configure.ac b/configure.ac index f21b456d9..4f0fb9723 100644 --- a/configure.ac +++ b/configure.ac @@ -311,13 +311,6 @@ if test x$with_mmap != xno; then fi fi -dnl Sequent wants getprocessstats -AC_CHECK_LIB(seq, get_process_stats, [ - LIBS="$LIBS -lseq" - AC_DEFINE(HAVE_GET_PROCESS_STATS, 1, - [Define if you have function `get_process_stats' and -have to use that instead of gettimeofday])]) - mc_GET_FS_INFO diff --git a/lib/utilunix.c b/lib/utilunix.c index acd7cb07a..f8d4dc366 100644 --- a/lib/utilunix.c +++ b/lib/utilunix.c @@ -991,18 +991,6 @@ canonicalize_pathname (char *path) /* --------------------------------------------------------------------------------------------- */ -#ifdef HAVE_GET_PROCESS_STATS -int -gettimeofday (struct timeval *tp, void *tzp) -{ - (void) tzp; - - return get_process_stats (tp, PS_SELF, 0, 0); -} -#endif /* HAVE_GET_PROCESS_STATS */ - -/* --------------------------------------------------------------------------------------------- */ - char * mc_realpath (const char *path, char *resolved_path) {