gst/: remove GLib 2.6 compatibility code
[platform/upstream/gstreamer.git] / gst / glib-compat.c
1 /*
2  * glib-compat.c
3  * Functions copied from glib 2.6 and 2.8
4  *
5  * Copyright 2005 David Schleef <ds@schleef.org>
6  */
7
8 #include "config.h"
9
10 #include <glib.h>
11 #include <glib/gstdio.h>
12
13 #include <stdio.h>
14 #include <errno.h>
15
16 #include "glib-compat.h"
17 #include "glib-compat-private.h"
18
19 #include <sys/stat.h>
20 #ifdef HAVE_UNISTD_H
21 #include <unistd.h>
22 #endif
23 #include <sys/types.h>
24
25 #ifdef G_OS_WIN32
26 #include <windows.h>
27 #include <io.h>
28 #endif /* G_OS_WIN32 */