mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
gst/: Include stdlib.h and unistd.h only if the appropriate HAVE_*_H macro is defined.
Original commit message from CVS: * gst/playback/test4.c: * gst/playback/test5.c: * gst/playback/test6.c: * gst/tcp/gstmultifdsink.c: Include stdlib.h and unistd.h only if the appropriate HAVE_*_H macro is defined.
This commit is contained in:
parent
7916e386ca
commit
802c45b10b
5 changed files with 25 additions and 0 deletions
|
@ -1,3 +1,12 @@
|
|||
2008-04-28 Michael Smith <msmith@songbirdnest.com>
|
||||
|
||||
* gst/playback/test4.c:
|
||||
* gst/playback/test5.c:
|
||||
* gst/playback/test6.c:
|
||||
* gst/tcp/gstmultifdsink.c:
|
||||
Include stdlib.h and unistd.h only if the appropriate HAVE_*_H macro
|
||||
is defined.
|
||||
|
||||
2008-04-28 Wim Taymans <wim.taymans@collabora.co.uk>
|
||||
|
||||
* gst-libs/gst/audio/gstbaseaudiosink.h:
|
||||
|
|
|
@ -16,8 +16,12 @@
|
|||
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
* Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
#ifdef HAVE_STDLIB_H
|
||||
#include <stdlib.h> /* exit() */
|
||||
#endif
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#include <gst/gst.h>
|
||||
|
||||
|
|
|
@ -16,8 +16,12 @@
|
|||
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
* Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
#ifdef HAVE_STDLIB_H
|
||||
#include <stdlib.h> /* exit */
|
||||
#endif
|
||||
#include <gst/gst.h>
|
||||
|
||||
static GMainLoop *loop;
|
||||
|
|
|
@ -16,8 +16,12 @@
|
|||
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
* Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
#ifdef HAVE_STDLIB_H
|
||||
#include <stdlib.h> /* exit */
|
||||
#endif
|
||||
#include <gst/gst.h>
|
||||
|
||||
static void
|
||||
|
|
|
@ -117,7 +117,11 @@
|
|||
#include <gst/gst-i18n-plugin.h>
|
||||
|
||||
#include <sys/ioctl.h>
|
||||
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#include <fcntl.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
|
|
Loading…
Reference in a new issue