diff options
Diffstat (limited to 'sway/ipc-server.c')
-rw-r--r-- | sway/ipc-server.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sway/ipc-server.c b/sway/ipc-server.c index eddae461..0cacc515 100644 --- a/sway/ipc-server.c +++ b/sway/ipc-server.c | |||
@@ -13,6 +13,13 @@ | |||
13 | #include <json-c/json.h> | 13 | #include <json-c/json.h> |
14 | #include <list.h> | 14 | #include <list.h> |
15 | #include <libinput.h> | 15 | #include <libinput.h> |
16 | #ifdef __linux__ | ||
17 | struct ucred { | ||
18 | pid_t pid; | ||
19 | uid_t uid; | ||
20 | gid_t gid; | ||
21 | }; | ||
22 | #endif | ||
16 | #include "sway/ipc-json.h" | 23 | #include "sway/ipc-json.h" |
17 | #include "sway/ipc-server.h" | 24 | #include "sway/ipc-server.h" |
18 | #include "sway/security.h" | 25 | #include "sway/security.h" |