907602d5b8
- disable the tests as (they warn) they make the library insecure - add libX11 (was missing something) - dirty hack around the "incomplete struct ucred" problem (feel free to find a better solution, I tried almost 1h)
19 lines
551 B
Diff
19 lines
551 B
Diff
diff --git a/dbus/dbus-sysdeps-unix.c b/dbus/dbus-sysdeps-unix.c
|
|
index b4ecc96..267984a 100644
|
|
--- a/dbus/dbus-sysdeps-unix.c
|
|
+++ b/dbus/dbus-sysdeps-unix.c
|
|
@@ -1635,6 +1635,13 @@ write_credentials_byte (int server_fd,
|
|
}
|
|
}
|
|
|
|
+struct ucred
|
|
+{
|
|
+ pid_t pid; /* PID of sending process. */
|
|
+ uid_t uid; /* UID of sending process. */
|
|
+ gid_t gid; /* GID of sending process. */
|
|
+};
|
|
+
|
|
/**
|
|
* Reads a single byte which must be nul (an error occurs otherwise),
|
|
* and reads unix credentials if available. Clears the credentials
|