Fix build on -current: Provide M_WAITOK define.

This commit is contained in:
Eric Anholt 2003-01-24 00:50:20 +00:00
parent f69ea13e21
commit bceba29c23
2 changed files with 8 additions and 0 deletions

View file

@ -192,6 +192,10 @@ while (!condition) { \
#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 */
MALLOC_DECLARE(malloctype);

View file

@ -192,6 +192,10 @@ while (!condition) { \
#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 */
MALLOC_DECLARE(malloctype);