summaryrefslogtreecommitdiffstats
path: root/src/core/serial.c
diff options
context:
space:
mode:
authorMichael Brown2016-03-12 19:02:20 +0100
committerMichael Brown2016-03-12 19:02:20 +0100
commit3c84178003495b258f7604b47325afd6a53a3d56 (patch)
tree0a6d5c777fa7dca20d42bef0ed8971313ab7d770 /src/core/serial.c
parent[test] Add missing #include <string.h> (diff)
downloadipxe-3c84178003495b258f7604b47325afd6a53a3d56.tar.gz
ipxe-3c84178003495b258f7604b47325afd6a53a3d56.tar.xz
ipxe-3c84178003495b258f7604b47325afd6a53a3d56.zip
[serial] Add missing #include <string.h>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/core/serial.c')
-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 4ce02551..dd22f673 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>