diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2022-03-28 08:42:13 +0100 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2022-04-06 14:19:52 +0100 |
commit | 1c69a91c25654339a0e670ed5a1495d52b37eb8e (patch) | |
tree | a55101c3181c5a776e68833f032d16cd534fe444 /compat.h | |
parent | 98de5784a0a35681b736dc11bb6758a08d428562 (diff) | |
download | rtmux-1c69a91c25654339a0e670ed5a1495d52b37eb8e.tar.gz rtmux-1c69a91c25654339a0e670ed5a1495d52b37eb8e.tar.bz2 rtmux-1c69a91c25654339a0e670ed5a1495d52b37eb8e.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); |