[FFmpeg-devel] Question on libbrokenos support

Michael Niedermayer michaelni
Tue Jan 8 18:44:16 CET 2008


On Tue, Jan 08, 2008 at 05:12:36PM +0100, Luca Abeni wrote:
[...]
> > For headers with actual content, do a ln -s to
> > _actualheadername.h or echo #include "_actualheadername.h" >>
> > actualheadername.h where that _actualheadername.h is part of svn (in
> > libos/*, again).
> In this way, I prevent the inclusion of the header provided by the OS, no?
> In the example above, I need to include the sys/socket.h from the OS for
> having some definitions, and to provide some other definitions in
> libbrokenos's header. Or are you saying that the configure can merge the
> two headers, and libbrokenos can force the inclusion of this "merged header"?
> That could be a solution; I'll think about it...

What ronald meant i think is:
/usr/local/include/sys/original_socket.h which is a 
symlink to /usr/include/sys/socket.h

then you can just #include <sys/original_socket.h> to include the system header

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The educated differ from the uneducated as much as the living from the
dead. -- Aristotle 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080108/45a4ea7e/attachment.pgp>



More information about the ffmpeg-devel mailing list