diff options
author | Ralf Habacker <ralf.habacker@freenet.de> | 2010-01-29 23:57:07 +0100 |
---|---|---|
committer | Ralf Habacker <ralf.habacker@freenet.de> | 2010-01-29 23:57:07 +0100 |
commit | 2016b83dece7f220269033e7957fb02140334294 (patch) | |
tree | 0dbbb9779437534332cf90cb783ee396e716f834 /bus/selinux.c | |
parent | e77fff6dfaa1f9a0fc1aa8aaf4bd7c97b847d4b3 (diff) | |
download | dbus-2016b83dece7f220269033e7957fb02140334294.tar.gz |
_dbus_change_to_daemon_user() is platform related and commit 0a3905d7f3b2ff43b09479863775939f9c8acad4 broke windows builds
Diffstat (limited to 'bus/selinux.c')
-rw-r--r-- | bus/selinux.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bus/selinux.c b/bus/selinux.c index 456723ac..614fa31b 100644 --- a/bus/selinux.c +++ b/bus/selinux.c @@ -22,7 +22,9 @@ */ #include <dbus/dbus-internals.h> #include <dbus/dbus-string.h> +#ifndef DBUS_WIN #include <dbus/dbus-userdb.h> +#endif #include "selinux.h" #include "services.h" #include "policy.h" @@ -1017,6 +1019,7 @@ bus_selinux_shutdown (void) #endif /* HAVE_SELINUX */ } +#ifndef DBUS_WIN /** * Changes the user and group the bus is running as. * @@ -1118,3 +1121,5 @@ _dbus_change_to_daemon_user (const char *user, return TRUE; } +#endif + |