From: Willy Tarreau Date: Sun, 14 Jun 2020 06:06:55 +0000 (+0200) Subject: BUILD: atomic: add string.h for memcpy() on ARM64 X-Git-Tag: v2.2-dev10~48 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bcefb8500905f051cb74cfd80a713a1776bd139e;p=thirdparty%2Fhaproxy.git BUILD: atomic: add string.h for memcpy() on ARM64 As reported in issue #686, ARM64 build fails since the include files reorganization. This is caused by the lack of string.h while a memcpy() is present in __ha_cas_dw(). --- diff --git a/include/haproxy/atomic.h b/include/haproxy/atomic.h index ca3f24f1bc..3f26b6a458 100644 --- a/include/haproxy/atomic.h +++ b/include/haproxy/atomic.h @@ -23,6 +23,8 @@ #ifndef _HAPROXY_ATOMIC_H #define _HAPROXY_ATOMIC_H +#include + /* A few notes for the macros and functions here: * - this file is painful to edit, most operations exist in 3 variants, * no-thread, threads with gcc<4.7, threads with gcc>=4.7. Be careful when