summaryrefslogtreecommitdiff
path: root/gst-libs/gst/sctp/sctp-prelude.h
diff options
context:
space:
mode:
Diffstat (limited to 'gst-libs/gst/sctp/sctp-prelude.h')
-rw-r--r--gst-libs/gst/sctp/sctp-prelude.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/gst-libs/gst/sctp/sctp-prelude.h b/gst-libs/gst/sctp/sctp-prelude.h
index b89984c2f..ac16e9d7f 100644
--- a/gst-libs/gst/sctp/sctp-prelude.h
+++ b/gst-libs/gst/sctp/sctp-prelude.h
@@ -25,7 +25,11 @@
#include <gst/gst.h>
#ifndef GST_SCTP_API
-#define GST_SCTP_API GST_EXPORT
+# ifdef BUILDING_GST_SCTP
+# define GST_SCTP_API GST_API_EXPORT /* from config.h */
+# else
+# define GST_SCTP_API GST_API_IMPORT
+# endif
#endif
#endif /* __GST_SCTP_PRELUDE_H__ */