]> git.sesse.net Git - vlc/blobdiff - src/misc/objects.c
GLX: remove MIT-SHM support infrastructure
[vlc] / src / misc / objects.c
index 18f76fcdaec33e774030658d630c7568aee9d595..3d5a13ed34a2cd2adcf9e1f1124ef6a8bc27d736 100644 (file)
@@ -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