summaryrefslogtreecommitdiff
path: root/include/git2/common.h
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2012-06-09 23:06:32 +0100
committerChris Young <chris@unsatisfactorysoftware.co.uk>2012-06-09 23:06:32 +0100
commitc3fad0ae3543691926434986840f4adddc70e34d (patch)
tree014f1283d832e516df5d341868f0b0831bd444c2 /include/git2/common.h
parent41cbbea8fe0aa56dc33027ba24249f69d831fe03 (diff)
parent7d1983ebc2312c526057ecedd4cef628a4c33974 (diff)
downloadlibgit2-c3fad0ae3543691926434986840f4adddc70e34d.tar.gz
Merge branch 'development' of github.com:chris-y/libgit2 into development
Diffstat (limited to 'include/git2/common.h')
-rw-r--r--include/git2/common.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/git2/common.h b/include/git2/common.h
index 045ba85c4..99018d4f5 100644
--- a/include/git2/common.h
+++ b/include/git2/common.h
@@ -56,11 +56,7 @@
#endif
#ifdef __amigaos4__
-/* Network byte order is big-endian... so is PPC, so these functions are NOP */
-#define htonl(x) x
-#define ntohl(x) x
-#define htons(x) x
-#define ntohs(x) x
+#include <netinet/in.h>
#endif
/**