diff options
author | Alan Coopersmith <alan.coopersmith@sun.com> | 2009-09-11 11:21:26 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@sun.com> | 2009-09-11 11:21:26 -0700 |
commit | 8fb3fa28a5a1b36cdaad38055a607400828b9e1c (patch) | |
tree | 562cd682a1dede421d7f53d53508c4894a46395b /hw/xfree86/common/compiler.h | |
parent | d908ee6e549fd8ff653e2c58e9637df347540ef9 (diff) |
compiler.h: include <string.h> before using memmove()
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
Diffstat (limited to 'hw/xfree86/common/compiler.h')
-rw-r--r-- | hw/xfree86/common/compiler.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 <string.h> /* needed for memmove */ + static __inline__ uint64_t ldq_u(uint64_t *p) { uint64_t ret; |