$NetBSD: patch-ab,v 1.2 2002/07/18 12:57:57 seb Exp $

--- config.h.orig	Fri May  5 02:34:29 2000
+++ config.h	Mon Jul  8 16:44:18 2002
@@ -1,4 +1,4 @@
-#if defined (__FreeBSD__) || defined (__OpenBSD__)
+#if defined (__FreeBSD__) || defined (__OpenBSD__) || defined (__NetBSD__) || defined(__DragonFly__)
 
 /* Our only FreeBSD driver, this goes straight into kernel memory 
  * and reads the raw structures from right underneath the kernel using the
@@ -13,7 +13,18 @@
 #endif
 
 
+#if defined (sun)
 
+/*
+ * This driver uses the Solaris kstat(3) mechanism to acquire interface
+ * statistics.  It's a lot more elegant than grovelling through kernel
+ * memory.
+ */
+#define USE_KSTAT
+
+#endif
+
+
 #ifdef linux
 
 /* this driver uses a socket ioctl() to get stats from a ppp type interface
