glib-private: Add include protection macro
[platform/upstream/gstreamer.git] / gst / glib-compat-private.h
1 /*
2  * glib-compat.c
3  * Functions copied from glib 2.10
4  *
5  * Copyright 2005 David Schleef <ds@schleef.org>
6  */
7
8 #ifndef __GLIB_COMPAT_PRIVATE_H__
9 #define __GLIB_COMPAT_PRIVATE_H__
10
11 #include "gst_private.h" /* for g_warning */
12 #include <glib.h>
13
14 G_BEGIN_DECLS
15
16 #if !GLIB_CHECK_VERSION(2,25,0)
17 typedef struct stat GStatBuf;
18 #endif
19
20 /* copies */
21
22 /* adaptations */
23
24 G_END_DECLS
25
26 #endif