diff packages/io/eth/current/src/net/eth_drv.c @ 1126:b56e22bed6a2

* include/eth_drv.h: * src/net/eth_drv.c: Added an ifndef to fix warnings about NBPFILTER not being defined.
author nickg
date Wed, 23 Jul 2003 18:01:22 +0000
parents a6926bb063e1
children 83f799d5b41a
line wrap: on
line diff
--- a/packages/io/eth/current/src/net/eth_drv.c
+++ b/packages/io/eth/current/src/net/eth_drv.c
@@ -73,6 +73,10 @@
 #include <netinet/if_ether.h>
 #endif
 
+#ifndef NBPFILTER
+#define NBPFILTER 0
+#endif
+
 #if NBPFILTER > 0
 #include <net/bpf.h>
 #include <net/bpfdesc.h>