summaryrefslogtreecommitdiff
path: root/sway/ipc-server.c
diff options
context:
space:
mode:
authorZandr Martin <[email protected]>2017-03-13 07:35:12 -0400
committerZandr Martin <[email protected]>2017-03-13 07:35:12 -0400
commitb507462d1c66e11cce76e069a508621dc9599f07 (patch)
tree52cc52fb0ec42085c37bee5f4f2e5c5f10cf2631 /sway/ipc-server.c
parent18450dd16a3909d0ea581f5f9cad4128751870cc (diff)
parent2e1083f52cbec40ed00df27dd1fb5b4d42d9254b (diff)
Merge branch 'master' of git://github.com/SirCmpwn/sway into new-command-aliases
Diffstat (limited to 'sway/ipc-server.c')
-rw-r--r--sway/ipc-server.c7
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 @@
#include <json-c/json.h>
#include <list.h>
#include <libinput.h>
+#ifdef __linux__
+struct ucred {
+ pid_t pid;
+ uid_t uid;
+ gid_t gid;
+};
+#endif
#include "sway/ipc-json.h"
#include "sway/ipc-server.h"
#include "sway/security.h"