summaryrefslogtreecommitdiff
path: root/bsd-core
diff options
context:
space:
mode:
authorEric Anholt <anholt@freebsd.org>2003-01-24 00:49:15 +0000
committerEric Anholt <anholt@freebsd.org>2003-01-24 00:49:15 +0000
commit66f57c403c012f55126817bc21d40346d29d2d35 (patch)
tree9a088454515139694cf71437cc31d54976980b4f /bsd-core
parent77ea378b09a86a9fe73d0ecef40f5570068c9af0 (diff)
Fix build on -current: Provide M_WAITOK define.
Diffstat (limited to 'bsd-core')
-rw-r--r--bsd-core/drm_os_freebsd.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/bsd-core/drm_os_freebsd.h b/bsd-core/drm_os_freebsd.h
index ff2a6460..1a3feb6e 100644
--- a/bsd-core/drm_os_freebsd.h
+++ b/bsd-core/drm_os_freebsd.h
@@ -188,6 +188,10 @@ do { \
#define PAGE_ALIGN(addr) round_page(addr)
+
+#ifndef M_WAITOK /* M_WAITOK (=0) name removed in -current */
+#define M_WAITOK 0
+#endif
#define malloctype DRM(M_DRM)
/* The macros confliced in the MALLOC_DEFINE */