commit | 24d364fc43601ea3d2e01cc506633302fa091d8f | [log] [tgz] |
---|---|---|
author | Mike Frysinger <vapier@gentoo.org> | Mon Jan 09 21:19:48 2012 -0500 |
committer | Theodore Ts'o <tytso@mit.edu> | Mon Jan 09 21:19:48 2012 -0500 |
tree | d6c0e72f766f72311e7be4802407c54c6c798b4b | |
parent | 65794cf159aa051ea3fe79db1950f562600b252e [diff] |
libext2fs: change getpagesize to sysconf Newer versions of glibc no longer export the getpagesize() prototype when using recent versions of POSIX (_XOPEN_SOURCE). So building tdb.c gives use implicit function declaration warnings. Fix the issue by using the portable sysconf() function which returns the same answer. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Theodore Ts'o <tytso@mit.edu>