diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-01-09 21:19:48 -0500 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2012-01-09 21:19:48 -0500 |
commit | 24d364fc43601ea3d2e01cc506633302fa091d8f (patch) | |
tree | d6c0e72f766f72311e7be4802407c54c6c798b4b /lib/ext2fs/undo_io.c | |
parent | 65794cf159aa051ea3fe79db1950f562600b252e (diff) | |
download | e2fsprogs-24d364fc43601ea3d2e01cc506633302fa091d8f.tar.gz |
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>
Diffstat (limited to 'lib/ext2fs/undo_io.c')
0 files changed, 0 insertions, 0 deletions