]> git.sesse.net Git - vlc/blobdiff - include/vlc_fixups.h
Maemo: work-around segmentation fault when poll() unwinds
[vlc] / include / vlc_fixups.h
index c832197680ca0f879602a79360885294bdafdd27..25102fa3f6c92dfdf1eda4ebf73d6e703846ab73 100644 (file)
@@ -241,6 +241,10 @@ struct pollfd
 };
 
 # define poll(a, b, c) vlc_poll(a, b, c)
+#elif defined (HAVE_MAEMO)
+# include <poll.h>
+# define poll(a, b, c) vlc_poll(a, b, c)
+int vlc_poll (struct pollfd *, unsigned, int);
 #endif
 
 #ifndef HAVE_TDESTROY