diff options
author | Matt Fleming <matt.fleming@intel.com> | 2013-06-19 16:41:20 +0100 |
---|---|---|
committer | Matt Fleming <matt.fleming@intel.com> | 2013-06-19 16:41:20 +0100 |
commit | c9b39bf837d8a0c9325a09264b2183c45a1384e5 (patch) | |
tree | ece659bc2c2a770b4822282a50d356afc03f4b18 | |
parent | 74f02afc5fd0372424d34fcafa973c23c03cd03c (diff) | |
download | syslinux-c9b39bf837d8a0c9325a09264b2183c45a1384e5.tar.gz |
efi: include <string.h> for memcpy()/memset()
and fix these warnings,
efi/adv.c: In function ‘cleanup_adv’:
efi/adv.c:48:5: warning: implicit declaration of function ‘memcpy’ [-Wimplicit-function-declaration]
efi/adv.c: In function ‘syslinux_reset_adv’:
efi/adv.c:54:5: warning: implicit declaration of function ‘memset’ [-Wimplicit-function-declaration]
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
-rw-r--r-- | efi/adv.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -24,6 +24,7 @@ */ #define _GNU_SOURCE +#include <string.h> #include "adv.h" #define IS_SYSLINUX /* remove this: test build only */ |