summaryrefslogtreecommitdiffhomepage
path: root/mime.h
diff options
context:
space:
mode:
Diffstat (limited to 'mime.h')
-rw-r--r--mime.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/mime.h b/mime.h
index c05eb45..8065d4f 100644
--- a/mime.h
+++ b/mime.h
@@ -2,4 +2,6 @@
#include <string>
-std::string mime_type(const std::string& path);
+#define EXPORT __attribute__((visibility("default")))
+
+EXPORT std::string mime_type(const std::string& path);