compiler.h: include <string.h> before using memmove()

Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
This commit is contained in:
Alan Coopersmith 2009-09-11 11:21:26 -07:00
parent d908ee6e54
commit 8fb3fa28a5

View File

@ -263,6 +263,8 @@ static __inline__ void stw_u(uint16_t val, uint16_t *p)
}
# else /* !__GNUC__ */
#include <string.h> /* needed for memmove */
static __inline__ uint64_t ldq_u(uint64_t *p)
{
uint64_t ret;