summaryrefslogtreecommitdiff
path: root/include/gst/base/base-prelude.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/gst/base/base-prelude.h')
-rw-r--r--include/gst/base/base-prelude.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/include/gst/base/base-prelude.h b/include/gst/base/base-prelude.h
new file mode 100644
index 0000000000..87defde34e
--- /dev/null
+++ b/include/gst/base/base-prelude.h
@@ -0,0 +1,35 @@
+/* GStreamer Base Library
+ * Copyright (C) 2018 GStreamer developers
+ *
+ * base-prelude.h: prelude include header for gst-base library
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
+ * Boston, MA 02110-1301, USA.
+ */
+
+#ifndef __GST_BASE_PRELUDE_H__
+#define __GST_BASE_PRELUDE_H__
+
+#include <gst/gst.h>
+
+#ifndef GST_BASE_API
+#ifdef BUILDING_GST_BASE
+#define GST_BASE_API GST_API_EXPORT /* from config.h */
+#else
+#define GST_BASE_API GST_API_IMPORT
+#endif
+#endif
+
+#endif /* __GST_BASE_PRELUDE_H__ */