summaryrefslogtreecommitdiff
path: root/linux-core
diff options
context:
space:
mode:
authorBrian <brian@i915.localnet.net>2007-09-12 12:05:15 -0600
committerBrian <brian@i915.localnet.net>2007-09-12 12:05:15 -0600
commit41345b95a2cdc1e509171d31fc8aed8cecb43dbd (patch)
treeb1decf4b9e5b367231a1a451ee13e7dd3c618826 /linux-core
parentc453135789597648ef5aa641c4e59bb5b5e320de (diff)
Added bool typedef added in kernel 2.6.19
This allows the xgi code to compile with older kernels.
Diffstat (limited to 'linux-core')
-rw-r--r--linux-core/drm_compat.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/linux-core/drm_compat.h b/linux-core/drm_compat.h
index 94db8533..870f8b73 100644
--- a/linux-core/drm_compat.h
+++ b/linux-core/drm_compat.h
@@ -321,4 +321,8 @@ void idr_remove_all(struct idr *idp);
void *idr_replace(struct idr *idp, void *ptr, int id);
#endif
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19))
+typedef _Bool bool;
+#endif
+
#endif