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
					
				| 
						 | 
					@ -263,6 +263,8 @@ static __inline__ void stw_u(uint16_t val, uint16_t *p)
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
#  else /* !__GNUC__ */
 | 
					#  else /* !__GNUC__ */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#include <string.h> /* needed for memmove */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static __inline__ uint64_t ldq_u(uint64_t *p)
 | 
					static __inline__ uint64_t ldq_u(uint64_t *p)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
	uint64_t ret;
 | 
						uint64_t ret;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue