summaryrefslogtreecommitdiffstats
path: root/src/arch/i386/core/runtime.c
diff options
context:
space:
mode:
authorMichael Brown2012-04-17 11:15:29 +0200
committerMichael Brown2012-04-17 11:42:08 +0200
commit1d33649516f2046e9fe692d42fffeeec96a2b858 (patch)
treef48462239a4cd88f506b8613cb0c05d885735fcf /src/arch/i386/core/runtime.c
parent[multiboot] Include full image URI in command line (diff)
downloadipxe-1d33649516f2046e9fe692d42fffeeec96a2b858.tar.gz
ipxe-1d33649516f2046e9fe692d42fffeeec96a2b858.tar.xz
ipxe-1d33649516f2046e9fe692d42fffeeec96a2b858.zip
[libc] Allow strtoul() to interpret negative numbers
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/arch/i386/core/runtime.c')
-rw-r--r--src/arch/i386/core/runtime.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/arch/i386/core/runtime.c b/src/arch/i386/core/runtime.c
index efa501e6..fcfec060 100644
--- a/src/arch/i386/core/runtime.c
+++ b/src/arch/i386/core/runtime.c
@@ -27,6 +27,7 @@ FILE_LICENCE ( GPL2_OR_LATER );
#include <stddef.h>
#include <stdint.h>
#include <stdlib.h>
+#include <ctype.h>
#include <errno.h>
#include <assert.h>
#include <ipxe/init.h>