Module Name:    src
Committed By:   tron
Date:           Sat Jan 22 12:06:51 UTC 2011

Modified Files:
        src/sys/compat/ndis: nbcompat.h

Log Message:
Fix build of ndiscvt(8). Not sure what broke it in the first place.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/compat/ndis/nbcompat.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/compat/ndis/nbcompat.h
diff -u src/sys/compat/ndis/nbcompat.h:1.13 src/sys/compat/ndis/nbcompat.h:1.14
--- src/sys/compat/ndis/nbcompat.h:1.13	Wed Apr 28 19:17:04 2010
+++ src/sys/compat/ndis/nbcompat.h	Sat Jan 22 12:06:51 2011
@@ -6,11 +6,7 @@
 #include <sys/cdefs.h>
 #include <sys/queue.h>
 #include <sys/mutex.h>
-#ifdef _KERNEL
 #include <sys/device.h>
-#else
-typedef struct device *device_t;
-#endif
 
 #define CTLFLAG_RW			CTLFLAG_READWRITE
 

Reply via email to