gst-libs/gst/rtsp/gstrtspconnection.c: Don't include unix headers unconditionally (fixes #518037).

Original commit message from CVS:
* gst-libs/gst/rtsp/gstrtspconnection.c:
Don't include unix headers unconditionally (fixes #518037).
This commit is contained in:
Tim-Philipp Müller 2008-03-02 18:32:36 +00:00
parent f82c6ab4f4
commit d85688b8a2
2 changed files with 10 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2008-03-02 Tim-Philipp Müller <tim at centricular dot net>
* gst-libs/gst/rtsp/gstrtspconnection.c:
Don't include unix headers unconditionally (fixes #518037).
2008-03-02 Tim-Philipp Müller <tim at centricular dot net>
* tests/check/libs/video.c: (paintinfo), (paintinfo_struct),

View file

@ -61,12 +61,14 @@
#include <stdio.h>
#include <errno.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <fcntl.h>
#include <time.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
/* we include this here to get the G_OS_* defines */
#include <glib.h>
@ -81,6 +83,7 @@
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <fcntl.h>
#endif
#ifdef HAVE_FIONREAD_IN_SYS_FILIO