[gstreamer-bugs] [Bug 323717] <netinet/in.h> inclusion necessary on some systems

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Mon Dec 12 08:01:56 PST 2005


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=323717
 GStreamer | gst-plugins-good | Ver: 0.10.0





------- Additional Comments From Benjamin Pineau  2005-12-12 16:01 -------
... and the header files need to be reordered too 
(see you're inet_aton(3) man page copy ;).

So the right patch is:

Index: gst/rtsp/rtspconnection.c
===================================================================
RCS file: /cvs/gstreamer/gst-plugins-good/gst/rtsp/rtspconnection.c,v
retrieving revision 1.8
diff -u -r1.8 rtspconnection.c
--- gst/rtsp/rtspconnection.c   27 Nov 2005 17:02:53 -0000      1.8
+++ gst/rtsp/rtspconnection.c   12 Dec 2005 16:00:11 -0000
@@ -23,8 +23,9 @@
 #include <stdlib.h>
 #include <string.h>
 #include <netdb.h>
-#include <arpa/inet.h>
 #include <sys/socket.h>
+#include <netinet/in.h>
+#include <arpa/inet.h>
 
 #include "rtspconnection.h"


------- You are receiving this mail because: -------
You are the assignee for the bug.
You are the QA contact for the bug.




More information about the Gstreamer-bugs mailing list