diff options
author | 2016-09-02 13:46:19 -0500 | |
---|---|---|
committer | 2016-09-02 13:46:19 -0500 | |
commit | 79ffea328c992c5109406771a59a9f016d85970d (patch) | |
tree | 5d965e72127f227ea0a38dc5c6e4fc14e08d9498 /common/ipc-client.c | |
parent | refactor commands.c (diff) | |
parent | Merge pull request #878 from lukaslihotzki/master (diff) | |
download | sway-79ffea328c992c5109406771a59a9f016d85970d.tar.gz sway-79ffea328c992c5109406771a59a9f016d85970d.tar.zst sway-79ffea328c992c5109406771a59a9f016d85970d.zip |
Merge branch 'master' of git://github.com/SirCmpwn/sway into commands-refactor
Diffstat (limited to 'common/ipc-client.c')
-rw-r--r-- | common/ipc-client.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/common/ipc-client.c b/common/ipc-client.c index e155c168..106f9d86 100644 --- a/common/ipc-client.c +++ b/common/ipc-client.c | |||
@@ -1,16 +1,13 @@ | |||
1 | #include <stdint.h> | ||
1 | #include <stdio.h> | 2 | #include <stdio.h> |
2 | #include <stdlib.h> | 3 | #include <stdlib.h> |
3 | #include <string.h> | 4 | #include <string.h> |
4 | #include <getopt.h> | ||
5 | #include <stdint.h> | ||
6 | #include <sys/un.h> | ||
7 | #include <sys/socket.h> | 5 | #include <sys/socket.h> |
6 | #include <sys/un.h> | ||
8 | #include <unistd.h> | 7 | #include <unistd.h> |
9 | #include "log.h" | ||
10 | #include "stringop.h" | ||
11 | #include "ipc.h" | ||
12 | #include "readline.h" | ||
13 | #include "ipc-client.h" | 8 | #include "ipc-client.h" |
9 | #include "readline.h" | ||
10 | #include "log.h" | ||
14 | 11 | ||
15 | static const char ipc_magic[] = {'i', '3', '-', 'i', 'p', 'c'}; | 12 | static const char ipc_magic[] = {'i', '3', '-', 'i', 'p', 'c'}; |
16 | static const size_t ipc_header_size = sizeof(ipc_magic)+8; | 13 | static const size_t ipc_header_size = sizeof(ipc_magic)+8; |