changeset 32646:b4356d1cf3e4

bitmanipulation: add missing include of string.h That's where memcpy() is declared.
author Martin von Zweigbergk <martinvonz@google.com>
date Fri, 02 Jun 2017 10:32:39 -0700
parents 74e9496e4986
children 331dcf199039
files mercurial/bitmanipulation.h
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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)