* configure.ac (AC_CHECK_HEADERS): Added sys/mman.h, sys/resource.h.
authortwisti <none@none>
Mon, 7 May 2007 13:45:19 +0000 (13:45 +0000)
committertwisti <none@none>
Mon, 7 May 2007 13:45:19 +0000 (13:45 +0000)
commit1905952e5b52b4ff0d9f5377fc031c019e4e5ef6
tree3e2d2f4809970213395c74e8dda97bac51337109
parenta04974d85736a17c53355c3a5f084d5959117641
* configure.ac (AC_CHECK_HEADERS): Added sys/mman.h, sys/resource.h.
(AC_CHECK_FUNCS): Added getrusage, mprotect.

* src/vmcore/statistics.c [HAVE_SYS_TIME_H] (sys/time.h): Include
conditionally.
[HAVE_SYS_RESOURCE_H] (sys/resource.h): Likewise.
(getcputime) [!HAVE_GETRUSAGE]: Return 0.
configure.ac
src/vmcore/statistics.c