mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-05 19:18:03 +02:00
compiler.h: include <string.h> before using memmove()
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
This commit is contained in:
parent
d908ee6e54
commit
8fb3fa28a5
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue