[FFmpeg-devel] poll.h vs. sys/poll.h
Diego Biurrun
diego
Thu Aug 14 17:35:26 CEST 2008
On Thu, Aug 14, 2008 at 04:29:40PM +0100, M?ns Rullg?rd wrote:
>
> Diego Biurrun wrote:
> > 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>
> >
> > 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?
>
> No, very much no.
>
> poll.h is standard, whereas sys/poll.h is not.
Very well, I will change it to poll.h then.
Diego
More information about the ffmpeg-devel
mailing list