[vlc-devel] [PATCH]Win32 fix raop.c compilation

Kaarlo Räihä agent_007 at luukku.com
Sat Dec 20 23:21:56 CET 2008


raop.c doesn't compile under Win32. This patch adds strsep function to file itself. strsep should be in somewhere else and currently it is missing from headers when you use Win32. So this patch isn't pretty one, but because I am only interested about Win32 compilation, this is enough for me. (BTW raop.c is only file in VLC that uses strsep function)

Additionally you have to add -lws2_32 to Makefile to make it compile. I don't know proper place for it, but I added it to
libstream_out_raop_plugin_la_CFLAGS = $(AM_CFLAGS)
so it becomes 
libstream_out_raop_plugin_la_CFLAGS = $(AM_CFLAGS) -lws2_32

Maybe someone wants to patch the proper location?

After the patch and makefile change raop.c compiles under mingw and VLC starts without issues. I don't know if it works, so if someone wants to test it out, it would be nice.

...................................................................
Luukku Plus paketilla pääset eroon tila- ja turvallisuusongelmista.
Hanki Luukku Plus ja helpotat elämääsi. http://www.mtv3.fi/luukku
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Win32-fix-compilation-ugly.patch
Type: application/octet-stream
Size: 1165 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20081221/bb7ee374/attachment.obj>


More information about the vlc-devel mailing list