diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2022-03-28 08:42:13 +0100 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2022-03-28 08:42:13 +0100 |
commit | fc7f1e7acb3539a43df46136e971f770515e0b0d (patch) | |
tree | ffe4d697936e4149d955bbfdf3805a9258804dda /compat.h | |
parent | d26a4ea463b96923bd93d95817f0fe78550c06ca (diff) | |
download | rtmux-fc7f1e7acb3539a43df46136e971f770515e0b0d.tar.gz rtmux-fc7f1e7acb3539a43df46136e971f770515e0b0d.tar.bz2 rtmux-fc7f1e7acb3539a43df46136e971f770515e0b0d.zip |
Add support for systemd socket activation (where systemd creates the Unix
domain socket for tmux rather than tmux creating it). Build with
--enable-systemd. From Julien Moutinho in GitHub issue 3119.
Diffstat (limited to 'compat.h')
-rw-r--r-- | compat.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -421,6 +421,11 @@ void *reallocarray(void *, size_t, size_t); void *recallocarray(void *, size_t, size_t, size_t); #endif +#ifdef HAVE_SYSTEMD +/* systemd.c */ +int systemd_create_socket(int, char **); +#endif + #ifdef HAVE_UTF8PROC /* utf8proc.c */ int utf8proc_wcwidth(wchar_t); |