QuickTime Streaming Server for Linux.. on x86

Joel Klecker jk at espy.org
Sat Jul 10 04:58:42 EST 1999


At 02:34 -0600 1999-07-09, Dan Burcaw wrote:
>--- StreamingServer-2/RhapServer/UDPSocket.cpp.o	Fri Jul  9 
>02:05:48 1999
>+++ StreamingServer-2/RhapServer/UDPSocket.cpp	Fri Jul  9 02:07:41 1999
>@@ -40,7 +40,11 @@
> #endif
>
> #if __linux__
>+#if __GLIBC__ >= 2
>+#include <bits/socket.h>
>+#else
> #include <socketbits.h>
>+#endif

Ugh, that is so wrong it's not even funny, both of those are internal 
headers to glibc, and should not be included directly. The portable 
way is <sys/socket.h> (which in the glibc implementation includes the 
appropriate internal header). Whoever's responsible for the linux 
patches ought to be shot.
-- 
Joel Klecker (aka Espy)                    Debian GNU/Linux Developer
<URL:mailto:jk at espy.org>                 <URL:mailto:espy at debian.org>
<URL:http://web.espy.org/>               <URL:http://www.debian.org/>

[[ This message was sent via the linuxppc-dev mailing list.  Replies are ]]
[[ not  forced  back  to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting.   ]]





More information about the Linuxppc-dev mailing list