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().
This commit is contained in:
Willy Tarreau 2020-06-14 08:06:55 +02:00
parent d999a49663
commit bcefb85009

View File

@ -23,6 +23,8 @@
#ifndef _HAPROXY_ATOMIC_H
#define _HAPROXY_ATOMIC_H
#include <string.h>
/* 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