Module Name: src Committed By: tron Date: Wed Mar 30 19:59:04 UTC 2011
Modified Files: src/sys/external/bsd/drm/dist/shared-core: radeon_cp.c Log Message: Fix build of "radeondrm" kernel module. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 \ src/sys/external/bsd/drm/dist/shared-core/radeon_cp.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/external/bsd/drm/dist/shared-core/radeon_cp.c diff -u src/sys/external/bsd/drm/dist/shared-core/radeon_cp.c:1.11 src/sys/external/bsd/drm/dist/shared-core/radeon_cp.c:1.12 --- src/sys/external/bsd/drm/dist/shared-core/radeon_cp.c:1.11 Wed Mar 30 17:21:04 2011 +++ src/sys/external/bsd/drm/dist/shared-core/radeon_cp.c Wed Mar 30 19:59:04 2011 @@ -35,7 +35,7 @@ #include "radeon_drv.h" #include "r300_reg.h" -#if defined(__NetBSD__) +#if defined(__NetBSD__) && defined(_KERNEL_OPT) #include "agp.h" #endif