diff options
Diffstat (limited to 'libs/gst/controller/controller-prelude.h')
-rw-r--r-- | libs/gst/controller/controller-prelude.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/gst/controller/controller-prelude.h b/libs/gst/controller/controller-prelude.h index 852b53dcde..c7d278cdc8 100644 --- a/libs/gst/controller/controller-prelude.h +++ b/libs/gst/controller/controller-prelude.h @@ -25,7 +25,11 @@ #include <gst/gst.h> #ifndef GST_CONTROLLER_API +#ifdef BUILDING_GST_CONTROLLER #define GST_CONTROLLER_API GST_EXPORT +#else +#define GST_CONTROLLER_API GST_API_IMPORT +#endif #endif #endif /* __GST_CONTROLLER_PRELUDE_H__ */ |