summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Roitzsch <mroi@users.sourceforge.net>2004-03-16 11:09:11 +0000
committerMichael Roitzsch <mroi@users.sourceforge.net>2004-03-16 11:09:11 +0000
commitb323267b7a8f5592c66158376a1ce25e2bdfefd5 (patch)
tree35f9b200631a30d3b38262cb6bba1708d938fea5 /src
parentc2d3bc2d70fe4dd44c18685adb240719e73fbc38 (diff)
downloadxine-lib-b323267b7a8f5592c66158376a1ce25e2bdfefd5.tar.gz
xine-lib-b323267b7a8f5592c66158376a1ce25e2bdfefd5.tar.bz2
only include this file on Sun, since Linux does not have it
CVS patchset: 6268 CVS date: 2004/03/16 11:09:11
Diffstat (limited to 'src')
-rw-r--r--src/input/input_rtp.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/input/input_rtp.c b/src/input/input_rtp.c
index ffd446faa..ce9bac401 100644
--- a/src/input/input_rtp.c
+++ b/src/input/input_rtp.c
@@ -71,7 +71,6 @@
#include <string.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
-#include <sys/sockio.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
@@ -81,6 +80,10 @@
#include <stdlib.h>
#include <net/if.h>
+#ifdef __sun
+# include <sys/sockio.h>
+#endif
+
#define LOG_MODULE "input_rtp"
#define LOG_VERBOSE
/*