aboutsummaryrefslogtreecommitdiff
path: root/sway/ipc-server.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-03-10 23:41:24 -0500
committerDrew DeVault <sir@cmpwn.com>2017-03-10 23:41:24 -0500
commit9aed9d93596cdc72e305338d82ccc0dcaf85c6e2 (patch)
treeb5a3db4994970b2d0033e717771b24a92503ddac /sway/ipc-server.c
parent74d4f1bec9a70bc800ecd7b15c9c6c0d7a5ce918 (diff)
UnGNUify the codebase
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"