From 06ae704ded346cca4b6eab6c95ca37f3955c3f09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Fri, 15 Feb 2019 22:06:24 +0100 Subject: [PATCH] module/i3-commonh: I3_IPC_REPLY_TYPE_SYNC is relatively new And is for example not present in our CI. --- modules/i3-common.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/i3-common.c b/modules/i3-common.c index 225678b..31546b5 100644 --- a/modules/i3-common.c +++ b/modules/i3-common.c @@ -253,9 +253,11 @@ i3_receive_loop(int abort_fd, int sock, case I3_IPC_REPLY_TYPE_TICK: pkt_handler = cbs->reply_tick; break; +#if defined(I3_IPC_REPLY_TYPE_SYNC) case I3_IPC_REPLY_TYPE_SYNC: pkt_handler = cbs->reply_sync; break; +#endif case I3_IPC_EVENT_WORKSPACE: pkt_handler = cbs->event_workspace;