]> rtime.felk.cvut.cz Git - git.git/blobdiff - block-sha1/sha1.c
make sure byte swapping is optimal for git
[git.git] / block-sha1 / sha1.c
index 464cb258aaa11786d3615a55c0ae8dff95150667..d31f2e386c392e7250a08969c750b3e3c91512b1 100644 (file)
@@ -4,8 +4,8 @@
  * and to avoid unnecessary copies into the context array.
  */
 
-#include <string.h>
-#include <arpa/inet.h>
+/* this is only to get definitions for memcpy(), ntohl() and htonl() */
+#include "../git-compat-util.h"
 
 #include "sha1.h"