diff options
author | Brian Cameron <brian.cameron@sun.com> | 2003-05-22 09:27:15 +0000 |
---|---|---|
committer | Brian Cameron <brian.cameron@sun.com> | 2003-05-22 09:27:15 +0000 |
commit | 08962fa4f432b6fb446116ca8067503f753cc932 (patch) | |
tree | 2f75beebf4ab5e3e50ec1689d68cccf368f2105f /gst | |
parent | 65d0e5af3d1d5d9b2f92fffe2931212063499632 (diff) |
Fixed header files so that rtp builds on Solaris
Original commit message from CVS:
Fixed header files so that rtp builds on Solaris
Diffstat (limited to 'gst')
-rw-r--r-- | gst/rtp/rtp-packet.c | 10 | ||||
-rw-r--r-- | gst/rtp/rtp-packet.h | 8 |
2 files changed, 11 insertions, 7 deletions
diff --git a/gst/rtp/rtp-packet.c b/gst/rtp/rtp-packet.c index f464ec1b..a6fca8b2 100644 --- a/gst/rtp/rtp-packet.c +++ b/gst/rtp/rtp-packet.c @@ -23,15 +23,13 @@ #include <config.h> #endif -#include "rtp-packet.h" - -#include <glib.h> #include <stdlib.h> -#include <sys/types.h> -#include <sys/socket.h> -#include <netinet/in.h> #include <string.h> #include <errno.h> +#include <netinet/in.h> +#include <glib.h> + +#include "rtp-packet.h" Rtp_Packet rtp_packet_new_take_data(gpointer data, guint data_len) diff --git a/gst/rtp/rtp-packet.h b/gst/rtp/rtp-packet.h index 224e7898..f19f8c6e 100644 --- a/gst/rtp/rtp-packet.h +++ b/gst/rtp/rtp-packet.h @@ -22,8 +22,14 @@ #ifndef _RTP_PACKET_H #define _RTP_PACKET_H 1 -#include <glib.h> #include <netinet/in.h> +#include <sys/types.h> +#include <sys/socket.h> +#include <glib.h> + +#ifdef __sun +#include <sys/uio.h> +#endif #ifdef __cplusplus extern "C" { |