summaryrefslogtreecommitdiffstats
path: root/src/drivers
diff options
context:
space:
mode:
authorMichael Brown2007-01-18 21:06:03 +0100
committerMichael Brown2007-01-18 21:06:03 +0100
commit5ff23aa406276c0932e7be760c31971dd1274d3f (patch)
treea0b2c8e00311176208ec2ed0555579607084ac0c /src/drivers
parentconsole.h is no longer needed for debugging (diff)
downloadipxe-5ff23aa406276c0932e7be760c31971dd1274d3f.tar.gz
ipxe-5ff23aa406276c0932e7be760c31971dd1274d3f.tar.xz
ipxe-5ff23aa406276c0932e7be760c31971dd1274d3f.zip
Include stdlib.h rather than malloc.h
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/net/rtl8139.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/drivers/net/rtl8139.c b/src/drivers/net/rtl8139.c
index c8879602..ff1fa646 100644
--- a/src/drivers/net/rtl8139.c
+++ b/src/drivers/net/rtl8139.c
@@ -66,11 +66,12 @@
*/
+#include <stdint.h>
+#include <stdlib.h>
#include <io.h>
#include <errno.h>
#include <vsprintf.h>
#include <timer.h>
-#include <malloc.h>
#include <byteswap.h>
#include <gpxe/pci.h>
#include <gpxe/if_ether.h>