module/i3: use our own copy of i3/ipc.h

The main advantage is when targeting sway/wayland instead of i3/x11;
sway doesn't package ipc.h. There *is* an ipc.h in the sway sources,
but it doesn't define e.g the header format, and has different names
for the constants.
This commit is contained in:
Daniel Eklöf 2019-03-31 12:08:44 +02:00
parent 065c40a9e6
commit 7dc5694965
5 changed files with 117 additions and 8 deletions

View file

@ -6,7 +6,6 @@
#include <sys/socket.h>
#include <sys/un.h>
//#include <i3/ipc.h>
#include <json-c/json_util.h>
bool i3_get_socket_address(struct sockaddr_un *addr);