summaryrefslogtreecommitdiffstats
path: root/src/drivers/bus
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/drivers/bus
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/drivers/bus')
-rw-r--r--src/drivers/bus/pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/bus/pci.c b/src/drivers/bus/pci.c
index 222f3eeab..2406b1307 100644
--- a/src/drivers/bus/pci.c
+++ b/src/drivers/bus/pci.c
@@ -20,9 +20,9 @@
*/
#include <stdint.h>
+#include <stdlib.h>
#include <string.h>
#include <errno.h>
-#include <malloc.h>
#include <gpxe/tables.h>
#include <gpxe/device.h>
#include <gpxe/pci.h>