--- a/mercurial/bitmanipulation.h Thu Jun 01 02:41:19 2017 +0530
+++ b/mercurial/bitmanipulation.h Fri Jun 02 10:32:39 2017 -0700
@@ -1,6 +1,8 @@
#ifndef _HG_BITMANIPULATION_H_
#define _HG_BITMANIPULATION_H_
+#include <string.h>
+
#include "compat.h"
static inline uint32_t getbe32(const char *c)