diff --git a/compat/systemd.c b/compat/systemd.c index bde372cc..22773c42 100644 --- a/compat/systemd.c +++ b/compat/systemd.c @@ -30,6 +30,11 @@ #include "tmux.h" +#ifndef SD_ID128_UUID_FORMAT_STR +#define SD_ID128_UUID_FORMAT_STR \ + "%02x%02x%02x%02x-%02x%02x-%02x%02x-%02x%02x-%02x%02x%02x%02x%02x%02x" +#endif + int systemd_activated(void) {