summaryrefslogtreecommitdiff
path: root/src/lib/cross.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-12-06 22:59:19 +0100
committerCarl Hetherington <cth@carlh.net>2020-12-08 11:19:19 +0100
commit152197adf5b060602ecdd99e6f272c4e8b2b410e (patch)
tree153cd87897b1d172d2ed3132524ff7c22bb5acc0 /src/lib/cross.h
parent6a5c7209770aa2c20d702b6f31d877ad2864ece7 (diff)
Add get_process_id()
Diffstat (limited to 'src/lib/cross.h')
-rw-r--r--src/lib/cross.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/cross.h b/src/lib/cross.h
index d8f0e56a5..cc066488a 100644
--- a/src/lib/cross.h
+++ b/src/lib/cross.h
@@ -67,6 +67,9 @@ extern bool running_32_on_64 ();
extern void unprivileged ();
extern boost::filesystem::path config_path ();
extern boost::filesystem::path directory_containing_executable ();
+namespace dcpomatic {
+ std::string get_process_id ();
+}
class PrivilegeEscalator
{