[gstreamer-bugs] [Bug 323717] New: <netinet/in.h> inclusion necessary on some systems
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Sat Dec 10 04:31:38 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
Summary: <netinet/in.h> inclusion necessary on some systems
Product: GStreamer
Version: 0.10.0
Platform: Other
OS/Version: OpenBSD
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-plugins-good
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: ben.pineau at gmail.com
QAContact: gstreamer-bugs at lists.sourceforge.net
CC: all-bugs at bugzilla.gnome.org
Distribution/Version: 3.8
gst/rtsp/rtspconnection.c from gst-plugins-good-0.10.0 need to include
netinet/in.h, else it won't compile on OpenBSD (and this inclusion won't
break a linux build).
rtspconnection.c: In function `rtsp_connection_open':
rtspconnection.c:35: error: storage size of `sin' isn't known
rtspconnection.c:39: error: storage size of `addr' isn't known
rtspconnection.c:60: error: dereferencing pointer to incomplete type
rtspconnection.c:60: error: type of formal parameter 1 is incomplete
rtspconnection.c:35: warning: unused variable `sin'
rtspconnection.c:39: warning: unused variable `addr'
*** Error code 1
So:
--- gst/rtsp/rtspconnection.c.orig Sat Dec 10 13:02:06 2005
+++ gst/rtsp/rtspconnection.c Sat Dec 10 13:02:10 2005
@@ -25,6 +25,7 @@
#include <netdb.h>
#include <arpa/inet.h>
#include <sys/socket.h>
+#include <netinet/in.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