summaryrefslogtreecommitdiffstats
path: root/src/drivers/net/bnx2.c
diff options
context:
space:
mode:
authorMichael Brown2007-07-24 15:05:32 +0200
committerMichael Brown2007-07-24 15:05:32 +0200
commit3f338b7b80cd9719033a290af14921c552e6c408 (patch)
tree0952ecfad8534253822282d3a598e58a72e55713 /src/drivers/net/bnx2.c
parentAllow -Werror to be temporarily disabled using "make NO_WERROR=1" (diff)
downloadipxe-3f338b7b80cd9719033a290af14921c552e6c408.tar.gz
ipxe-3f338b7b80cd9719033a290af14921c552e6c408.tar.xz
ipxe-3f338b7b80cd9719033a290af14921c552e6c408.zip
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"