Hash :
3a82bb79
Author :
Date :
2017-04-19T01:03:34
vma-iter: Fix conflict with module 'largefile' on 32-bit Solaris 9. * modules/vma-iter (configure.ac): Test whether <sys/procfs.h> can be included. * lib/vma-iter.c: On Solaris, test HAVE_SYS_PROCFS_H before including <sys/procfs.h>. * lib/vma-iter.h (VMA_ITERATE_SUPPORTED): Don't define on Solaris when <sys/procfs.h> cannot be included. Reported by Tom G. Christensen <tgc@jupiterrise.com>.
Description:
Iteration over virtual memory areas.
Files:
lib/vma-iter.h
lib/vma-iter.c
m4/mmap-anon.m4
Depends-on:
stdint
unistd
extensions
getpagesize
configure.ac:
gl_FUNC_MMAP_ANON
AC_CHECK_FUNCS_ONCE([mquery pstat_getprocvm])
dnl On Solaris <= 9, <sys/procfs.h> is unusable when AC_SYS_LARGEFILE is in use.
AC_CHECK_HEADERS([sys/procfs.h])
Makefile.am:
lib_SOURCES += vma-iter.c
Include:
"vma-iter.h"
License:
GPL
Maintainer:
all