diff options
Diffstat (limited to 'xorg-server/hw/xfree86/common/compiler.h')
-rw-r--r-- | xorg-server/hw/xfree86/common/compiler.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xorg-server/hw/xfree86/common/compiler.h b/xorg-server/hw/xfree86/common/compiler.h index 95ef72c39..cdb493a23 100644 --- a/xorg-server/hw/xfree86/common/compiler.h +++ b/xorg-server/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; |