summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--process.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/process.h b/process.h
index a47dd6c..b13a54c 100644
--- a/process.h
+++ b/process.h
@@ -2,6 +2,10 @@
#include <sys/types.h>
+#define EXPORT __attribute__((visibility("default")))
+
namespace Reichwein::Process {
- bool is_running(pid_t pid);
+
+EXPORT bool is_running(pid_t pid);
+
} // namespace