aboutsummaryrefslogtreecommitdiff
path: root/bsd-core/tdfx_drv.c
diff options
context:
space:
mode:
Diffstat (limited to 'bsd-core/tdfx_drv.c')
-rw-r--r--bsd-core/tdfx_drv.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/bsd-core/tdfx_drv.c b/bsd-core/tdfx_drv.c
index 8bc8c57d..c62ca2c5 100644
--- a/bsd-core/tdfx_drv.c
+++ b/bsd-core/tdfx_drv.c
@@ -30,9 +30,6 @@
* Gareth Hughes <gareth@valinux.com>
*/
-
-#include <sys/types.h>
-
#include "tdfx.h"
#include "drmP.h"
@@ -96,4 +93,6 @@ drm_chipinfo_t DRM(devicelist)[] = {
#ifdef __FreeBSD__
DRIVER_MODULE(tdfx, pci, tdfx_driver, tdfx_devclass, 0, 0);
+#elif defined(__NetBSD__)
+CFDRIVER_DECL(tdfx, DV_TTY, NULL);
#endif /* __FreeBSD__ */