summaryrefslogtreecommitdiffstats
path: root/src/image/elf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/image/elf.c')
-rw-r--r--src/image/elf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/image/elf.c b/src/image/elf.c
index 83712c3b0..97e07f37f 100644
--- a/src/image/elf.c
+++ b/src/image/elf.c
@@ -33,6 +33,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
* common ELF-related functionality.
*/
+#include <string.h>
#include <errno.h>
#include <elf.h>
#include <ipxe/segment.h>