diff --git a/include/nuttx/mqueue.h b/include/nuttx/mqueue.h index 1c4731d2a7..9f2226c173 100644 --- a/include/nuttx/mqueue.h +++ b/include/nuttx/mqueue.h @@ -78,6 +78,10 @@ # define _MQ_TIMEDRECEIVE(d,m,l,p,t) mq_timedreceive(d,m,l,p,t) #endif +#ifndef CONFIG_FS_MQUEUE_NPOLLWAITERS +# define CONFIG_FS_MQUEUE_NPOLLWAITERS 0 +#endif + #if CONFIG_FS_MQUEUE_NPOLLWAITERS > 0 # define nxmq_pollnotify(msgq, eventset) \ poll_notify(msgq->fds, CONFIG_FS_MQUEUE_NPOLLWAITERS, eventset)