diff options
Diffstat (limited to 'gst-libs/gst/wayland/wayland.h')
-rw-r--r-- | gst-libs/gst/wayland/wayland.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gst-libs/gst/wayland/wayland.h b/gst-libs/gst/wayland/wayland.h index 5cc0e5f74..c60c57ccd 100644 --- a/gst-libs/gst/wayland/wayland.h +++ b/gst-libs/gst/wayland/wayland.h @@ -30,7 +30,11 @@ #include <wayland-client.h> #ifndef GST_WAYLAND_API -#define GST_WAYLAND_API GST_EXPORT +# ifdef BUILDING_GST_WAYLAND +# define GST_WAYLAND_API GST_API_EXPORT /* from config.h */ +# else +# define GST_WAYLAND_API GST_API_IMPORT +# endif #endif G_BEGIN_DECLS |