Fix build on -current: Provide M_WAITOK define.

This commit is contained in:
Eric Anholt 2003-01-24 00:49:15 +00:00
parent 77ea378b09
commit 66f57c403c
2 changed files with 8 additions and 0 deletions

View file

@ -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 */

View file

@ -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 */