From 8fb3fa28a5a1b36cdaad38055a607400828b9e1c Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Fri, 11 Sep 2009 11:21:26 -0700 Subject: [PATCH] compiler.h: include before using memmove() Signed-off-by: Alan Coopersmith --- hw/xfree86/common/compiler.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hw/xfree86/common/compiler.h b/hw/xfree86/common/compiler.h index 95ef72c39..cdb493a23 100644 --- a/hw/xfree86/common/compiler.h +++ b/hw/xfree86/common/compiler.h @@ -263,6 +263,8 @@ static __inline__ void stw_u(uint16_t val, uint16_t *p) } # else /* !__GNUC__ */ +#include /* needed for memmove */ + static __inline__ uint64_t ldq_u(uint64_t *p) { uint64_t ret;