[FFmpeg-devel] poll.h vs. sys/poll.h

François Revol revol
Thu Aug 14 16:44:55 CEST 2008

> Which is the correct location for the poll.h header?  We have both
> ffserver.c:#include <poll.h>
> libavdevice/dv1394.c:#include <sys/poll.h>

says <poll.h>

> but configure only checks for poll.h, not sys/poll.h.  On my glibc-
> based
> system poll.h just contains #include <sys/poll.h>.  OK to change 
> poll.h
> to sys/poll.h then?

This just means poll.h redirects to sys/poll.h on your platform. It 
doesn't mean poll.h can't be the standard one.


More information about the ffmpeg-devel mailing list