mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-10 00:11:43 +08:00
Now using <poll.h> instead of <sys/poll.h>. Also added a bit
to autoconf to ensure we don't use poll on OS X.
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
#include "CEvent.h"
|
||||
#include "IEventQueue.h"
|
||||
#if HAVE_POLL
|
||||
# include <sys/poll.h>
|
||||
# include <poll.h>
|
||||
#else
|
||||
# if HAVE_SYS_SELECT_H
|
||||
# include <sys/select.h>
|
||||
|
||||
Reference in New Issue
Block a user