summaryrefslogtreecommitdiffhomepage
path: root/mime.h
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2023-01-03 18:42:02 +0100
committerRoland Reichwein <mail@reichwein.it>2023-01-03 18:42:02 +0100
commit8299ba653b6a5bc85cf16de89df6d52055895512 (patch)
tree65b6284fa3f01e9340b03a13ccc90ee5b47490c4 /mime.h
parenta82d947a594b01af54e056473799ebab619e2bd2 (diff)
Fix exports
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);