Commit 7308685e authored by JP Dinger's avatar JP Dinger

Replace the last of the HAVE_EVENTFDs with HAVE_SYS_EVENTFD_H.

(cherry picked from commit b3d9ea87aa40d43f081b8fcecd7d0126e6865196)
parent 7a445b0e
......@@ -391,7 +391,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
#if defined (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