diff options
author | Peter Harris <pharris@opentext.com> | 2017-08-14 15:54:36 -0400 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2017-08-14 13:34:11 -0700 |
commit | c52f77e4ca2cda878da341a6228e6411eec7b1a0 (patch) | |
tree | a369481df128d2d030e987987b56206ff509b2ec /os | |
parent | 27500ee82e97ef8a6b3199c2d7b623523c1ee2c1 (diff) |
meson: Fix epoll detection
The epoll code depends on epoll_create1, not epoll_create.
Signed-off-by: Peter Harris <pharris@opentext.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'os')
-rw-r--r-- | os/ospoll.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/os/ospoll.c b/os/ospoll.c index 51bd02dc7..ca14a0c8c 100644 --- a/os/ospoll.c +++ b/os/ospoll.c @@ -32,7 +32,7 @@ #include "ospoll.h" #include "list.h" -#if !HAVE_OSPOLL && HAVE_EPOLL_CREATE1 +#if !HAVE_OSPOLL && defined(HAVE_EPOLL_CREATE1) #include <sys/epoll.h> #define EPOLL 1 #define HAVE_OSPOLL 1 |