commit | 488c75a6a62acb07b82bcfab327d30eb5ea54703 | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Sat Jun 07 08:55:21 2008 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Sat Jun 07 08:55:21 2008 -0400 |
tree | 6d01f3be6db9189e94d64931f7ebc20b167ad724 | |
parent | 9aa109c95dd0fc2cbcb0d309ab830d5898e1344b [diff] |
Fix ext2fs_swap{16,32,64} for external applications on big-endian machines The public header files depend on the the autoconf defines WORDS_BIGENDIAN and HAVE_SYS_TYPES_H, so we add them to ext2_types.h so that external programs which try to use ext2fs_swap*() will work correctly on big-endian systems. Fortunately, few if any programs need to use this libext2's byte-swap functions directly. Addresses-Debian-Bug: #484879 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>