bitmanipulation: add missing include of string.h
authorMartin von Zweigbergk <martinvonz@google.com>
Fri, 02 Jun 2017 10:32:39 -0700
changeset 32646 b4356d1cf3e4
parent 32645 74e9496e4986
child 32647 331dcf199039
bitmanipulation: add missing include of string.h That's where memcpy() is declared.
mercurial/bitmanipulation.h
--- 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)