From 9aed9d93596cdc72e305338d82ccc0dcaf85c6e2 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Fri, 10 Mar 2017 23:41:24 -0500 Subject: UnGNUify the codebase --- sway/ipc-server.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'sway/ipc-server.c') 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 #include #include +#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" -- cgit v1.2.3