diff options
author | Matt Fleming <matt.fleming@intel.com> | 2013-06-19 16:39:26 +0100 |
---|---|---|
committer | Matt Fleming <matt.fleming@intel.com> | 2013-06-19 16:39:26 +0100 |
commit | 74f02afc5fd0372424d34fcafa973c23c03cd03c (patch) | |
tree | 21eb83b2125d7cfad24887ae1e88453ada2fb332 | |
parent | 2bc937dd5dee042163d6c79f06d54b3b1c6da264 (diff) | |
download | syslinux-74f02afc5fd0372424d34fcafa973c23c03cd03c.tar.gz syslinux-74f02afc5fd0372424d34fcafa973c23c03cd03c.tar.xz syslinux-74f02afc5fd0372424d34fcafa973c23c03cd03c.zip |
efi: include <string.h> for memcpy()
to fix this warning,
efi/mem.c: In function ‘efi_realloc’:
efi/mem.c:14:2: warning: implicit declaration of function ‘memcpy’ [-Wimplicit-function-declaration]
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
-rw-r--r-- | efi/mem.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1,4 +1,5 @@ #include <mem/malloc.h> +#include <string.h> #include "efi.h" void *efi_malloc(size_t size, enum heap heap, malloc_tag_t tag) |