[vlc-devel] [Patch] force vlc_network.h inclusion in stream_output.h (and thus fix Mac OS X Build).

Pierre d'Herbemont pdherbemont at free.fr
Sun Feb 11 13:44:33 CET 2007


Hi,

Intel OS X Buildbot [1] can't build VLC trunk, and so do my Mac OS X  
system.

playlist/engine.c:1: warning: -mdynamic-no-pic overrides -fpic or -fPIC
In file included from playlist/engine.c:31:
./stream_output/stream_output.h:84: error: field 'orig' has  
incomplete type
./stream_output/stream_output.h:85: error: parse error before  
'socklen_t'
./stream_output/stream_output.h:85: warning: no semicolon at end of  
struct or union
./stream_output/stream_output.h:87: error: parse error before 'addrlen'
./stream_output/stream_output.h:87: warning: type defaults to 'int'  
in declaration of 'addrlen'
./stream_output/stream_output.h:87: warning: data definition has no  
type or storage class
./stream_output/stream_output.h:92: error: parse error before '}' token
./stream_output/stream_output.h:118: error: parse error before  
'socklen_t'
make[4]: *** [playlist/libvlc_a-engine.o] Error 1

I am not sure that I am using the "correct" convention to do this.  
But this patch works.

BTW, with this patch the WIN32 switch can safely be removed.

Pierre.

[1] http://buildbot.videolan.org/Intel-OSX-Trunk/builds/3745/step- 
Compile/0
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: sockaddr_storage_undefined.diff.txt
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20070211/7fa552e9/attachment.txt>


More information about the vlc-devel mailing list