diff options
author | Eryu Guan <eguan@redhat.com> | 2013-11-12 12:16:53 +0800 |
---|---|---|
committer | Arne Jansen <sensille@gmx.net> | 2013-11-13 12:20:00 +0100 |
commit | fe02541e83da8a854068a26388f6c7c8d11675d7 (patch) | |
tree | 1faa520a8192cba7438e8b5809edcd801ac56fbd | |
parent | a9bd955f904bf99a522cc07fd6a6857eec9aadad (diff) | |
download | far-progs-fe02541e83da8a854068a26388f6c7c8d11675d7.tar.gz |
Definition of htonll() is needed on bigendian host too, otherwise
src/fssum.c won't compile on ppc64/s390x hosts.
Acked-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
-rw-r--r-- | fssum.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -43,6 +43,8 @@ #ifdef __LINUX__ #if __BYTE_ORDER == __LITTLE_ENDIAN #define htonll(x) __bswap_64 (x) +#else +#define htonll(x) (x) #endif #endif |