# HG changeset patch # User Martin von Zweigbergk <martinv...@google.com> # Date 1496424759 25200 # Fri Jun 02 10:32:39 2017 -0700 # Node ID adcedfacf15920a7ac4b5c2b2ab57f65857b8340 # Parent 7fcddf79634350fec32d8ed87242db6d773588d5 bitmanipulation: add missing include of string.h
That's where memcpy() is declared. diff --git a/mercurial/bitmanipulation.h b/mercurial/bitmanipulation.h --- a/mercurial/bitmanipulation.h +++ b/mercurial/bitmanipulation.h @@ -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) _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel