Sophie

Sophie

distrib > Mageia > 5 > i586 > by-pkgid > f61e6c3438e8cbe74e2f7c3d5d16bd12 > files > 1

libgit2-0.21.1-3.mga5.src.rpm

diff -up libgit2-0.18.0/src/bswap.h.non-x86 libgit2-0.18.0/src/bswap.h
--- libgit2-0.18.0/src/bswap.h.non-x86	2013-06-19 10:01:31.000000000 +0200
+++ libgit2-0.18.0/src/bswap.h	2013-06-19 10:01:50.000000000 +0200
@@ -76,6 +76,10 @@ GIT_INLINE(uint16_t) default_swab16(uint
 #define bswap32(x) _byteswap_ulong(x)
 #define bswap16(x) _byteswap_ushort(x)
 
+#else
+
+#include <arpa/inet.h>
+
 #endif
 
 #ifdef bswap32