summaryrefslogtreecommitdiffhomepage
path: root/process.h
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2023-01-09 12:10:50 +0100
committerRoland Reichwein <mail@reichwein.it>2023-01-09 12:10:50 +0100
commite29ca1929f3aae5288c03be40e67061e245a90ea (patch)
tree1b16123dc11bcf05254b5f06d68b2ff48ba3cfbb /process.h
parent3a2a1bdd343ac24b95b4a58cff5cdca931ac8479 (diff)
Fix missing symbol
Diffstat (limited to 'process.h')
-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