xfstests: fix compile error of src/fssum.c on bigendian host

Definition of htonll() is needed on bigendian host too, otherwise
src/fssum.c won't compile on ppc64/s390x hosts.

Signed-off-by: Eryu Guan <eguan@redhat.com>
Acked-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Signed-off-by: Rich Johnston <rjohnston@sgi.com>
This commit is contained in:
Eryu Guan
2013-11-12 04:16:53 +00:00
committed by Rich Johnston
parent bfdd1e72b3
commit 3d2a446df4
+2
View File
@@ -50,6 +50,8 @@
#if __BYTE_ORDER == __LITTLE_ENDIAN
#define htonll(x) __bswap_64 (x)
#else
#define htonll(x) (x)
#endif
#endif