summaryrefslogtreecommitdiffstats
path: root/src/net/dhcpopts.c
diff options
context:
space:
mode:
authorMichael Brown2006-12-20 00:42:46 +0100
committerMichael Brown2006-12-20 00:42:46 +0100
commita646e38f03921d9b91366efa57826c94f0893299 (patch)
treebc7bbe6c3d31584b075c4ea3f3f057ce1b153a21 /src/net/dhcpopts.c
parentExplicitly print out-of-memory message to avoid tricking the user into (diff)
downloadipxe-a646e38f03921d9b91366efa57826c94f0893299.tar.gz
ipxe-a646e38f03921d9b91366efa57826c94f0893299.tar.xz
ipxe-a646e38f03921d9b91366efa57826c94f0893299.zip
Use stdlib.h for malloc() instead of malloc.h.
Diffstat (limited to 'src/net/dhcpopts.c')
-rw-r--r--src/net/dhcpopts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/dhcpopts.c b/src/net/dhcpopts.c
index e847c81d..3013b669 100644
--- a/src/net/dhcpopts.c
+++ b/src/net/dhcpopts.c
@@ -17,10 +17,10 @@
*/
#include <stdint.h>
+#include <stdlib.h>
#include <byteswap.h>
#include <errno.h>
#include <string.h>
-#include <malloc.h>
#include <assert.h>
#include <vsprintf.h>
#include <gpxe/list.h>