Fixed header files so that rtp builds on Solaris

Original commit message from CVS:
Fixed header files so that rtp builds on Solaris
This commit is contained in:
Brian Cameron 2003-05-22 09:27:15 +00:00
parent 65d0e5af3d
commit 08962fa4f4
2 changed files with 11 additions and 7 deletions

View file

@ -23,15 +23,13 @@
#include <config.h> #include <config.h>
#endif #endif
#include "rtp-packet.h"
#include <glib.h>
#include <stdlib.h> #include <stdlib.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <string.h> #include <string.h>
#include <errno.h> #include <errno.h>
#include <netinet/in.h>
#include <glib.h>
#include "rtp-packet.h"
Rtp_Packet Rtp_Packet
rtp_packet_new_take_data(gpointer data, guint data_len) rtp_packet_new_take_data(gpointer data, guint data_len)

View file

@ -22,8 +22,14 @@
#ifndef _RTP_PACKET_H #ifndef _RTP_PACKET_H
#define _RTP_PACKET_H 1 #define _RTP_PACKET_H 1
#include <glib.h>
#include <netinet/in.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 #ifdef __cplusplus
extern "C" { extern "C" {