Fix up lots of portability problems that caused e2fsprogs not to build successfully
under Solaris.

31 files changed