summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/serial.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/serial.c b/src/core/serial.c
index 4ce025519..dd22f6731 100644
--- a/src/core/serial.c
+++ b/src/core/serial.c
@@ -30,6 +30,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
*/
#include <stddef.h>
+#include <string.h>
#include <ipxe/init.h>
#include <ipxe/uart.h>
#include <ipxe/console.h>