[FFmpeg-devel] Question on libbrokenos support

Luca Abeni lucabe72
Wed Jan 9 11:48:32 CET 2008

Hi Michael,

Michael Niedermayer wrote:
> And anyway, using #include_next would break the whole system. Just think what
> would happen if a non gcc compiler would compile a file with 
> #include <sys/socket.h> ?

I am currently looking at your cpp trick for locating the original header, and
I'll post some results in few days.
Here, I just want to clarify that my proposal about #include_next did not imply
to install libos headers in standard paths: a user would have needed to specify
"-I <libos install path>/..." to include such headers, so I think my proposal
did not break the whole system.

> echo '#include <sys/socket.h>' | cpp | grep -m1 'socket.h'
> # 1 "/usr/include/sys/socket.h" 1 3 4

I am currently trying to hack a configure script using something like this.


More information about the ffmpeg-devel mailing list