diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-03-10 23:41:24 -0500 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2017-03-10 23:41:24 -0500 |
commit | 9aed9d93596cdc72e305338d82ccc0dcaf85c6e2 (patch) | |
tree | b5a3db4994970b2d0033e717771b24a92503ddac /sway/ipc-server.c | |
parent | Further indentation corrections (diff) | |
download | sway-9aed9d93596cdc72e305338d82ccc0dcaf85c6e2.tar.gz sway-9aed9d93596cdc72e305338d82ccc0dcaf85c6e2.tar.zst sway-9aed9d93596cdc72e305338d82ccc0dcaf85c6e2.zip |
UnGNUify the codebase
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" |