summaryrefslogtreecommitdiff
path: root/include/nonunix/asm/types.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-01-09 21:19:48 -0500
committerTheodore Ts'o <tytso@mit.edu>2012-01-09 21:19:48 -0500
commit24d364fc43601ea3d2e01cc506633302fa091d8f (patch)
treed6c0e72f766f72311e7be4802407c54c6c798b4b /include/nonunix/asm/types.h
parent65794cf159aa051ea3fe79db1950f562600b252e (diff)
downloade2fsprogs-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 'include/nonunix/asm/types.h')
0 files changed, 0 insertions, 0 deletions