summaryrefslogtreecommitdiffstats
path: root/src/net/netdevice.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/netdevice.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/netdevice.c')
-rw-r--r--src/net/netdevice.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/netdevice.c b/src/net/netdevice.c
index 634977f7..3f8e54bb 100644
--- a/src/net/netdevice.c
+++ b/src/net/netdevice.c
@@ -17,10 +17,10 @@
*/
#include <stdint.h>
+#include <stdlib.h>
#include <byteswap.h>
#include <string.h>
#include <errno.h>
-#include <malloc.h>
#include <gpxe/if_ether.h>
#include <gpxe/pkbuff.h>
#include <gpxe/tables.h>