Commit a98b4976 authored by Jean-Paul Saman's avatar Jean-Paul Saman

objects: check for HAVE_SYS_EVENTFD_H it is more reliable then HAVE_EVENTFD

parent db2db6b4
......@@ -401,7 +401,7 @@ int vlc_object_waitpipe( vlc_object_t *obj )
/* This can only ever happen if someone killed us without locking: */
assert (internals->pipes[1] == -1);
#ifdef HAVE_EVENTFD
#ifdef HAVE_SYS_EVENTFD_H
internals->pipes[0] = internals->pipes[1] = eventfd (0, 0);
if (internals->pipes[0] == -1)
#endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment