aboutsummaryrefslogtreecommitdiffstats
path: root/src/drivers/net/bnx2.c
diff options
context:
space:
mode:
authorMichael Brown <mcb30@etherboot.org>2007-07-24 14:05:32 +0100
committerMichael Brown <mcb30@etherboot.org>2007-07-24 14:05:32 +0100
commit3f338b7b80cd9719033a290af14921c552e6c408 (patch)
tree0952ecfad8534253822282d3a598e58a72e55713 /src/drivers/net/bnx2.c
parented9ba18ec6ee7bf7f90dbaf940cc03003789c1a5 (diff)
downloadipxe-3f338b7b80cd9719033a290af14921c552e6c408.tar.gz
Include errno.h in the few drivers which use it, rather than in nic.h
Diffstat (limited to 'src/drivers/net/bnx2.c')
-rw-r--r--src/drivers/net/bnx2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drivers/net/bnx2.c b/src/drivers/net/bnx2.c
index 8d4b0176..105e9c3f 100644
--- a/src/drivers/net/bnx2.c
+++ b/src/drivers/net/bnx2.c
@@ -15,6 +15,7 @@
#include "etherboot.h"
#include "nic.h"
+#include <errno.h>
#include <gpxe/pci.h>
#include <gpxe/ethernet.h>
#include "timer.h"