diff options
author | Christophe Fergeau <cfergeau@redhat.com> | 2011-03-25 17:17:41 +0100 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2011-04-04 14:04:24 +0200 |
commit | 58573d15f4308ba391c16ca0c5316d167b63d7d4 (patch) | |
tree | 09c219b64c67d5e810e70cf55d59ba3eda5f1b45 /src/udscs.c | |
parent | 7aaac6881e0e906901ab50a14497151935835d0b (diff) | |
download | vd_agent-58573d15f4308ba391c16ca0c5316d167b63d7d4.tar.gz vd_agent-58573d15f4308ba391c16ca0c5316d167b63d7d4.tar.xz vd_agent-58573d15f4308ba391c16ca0c5316d167b63d7d4.zip |
make console-kit use optional
On older distributions (namely RHEL5), console-kit is not available.
This patch makes console-kit use optional, though this means
vd_agentd won't handle properly user-switching. This patch makes
it always use the first client vdagent, or none if multiple agents
connect.
Diffstat (limited to 'src/udscs.c')
-rw-r--r-- | src/udscs.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/udscs.c b/src/udscs.c index 3d9a9e3..c451855 100644 --- a/src/udscs.c +++ b/src/udscs.c @@ -20,6 +20,9 @@ You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif #include <stdio.h> #include <stdlib.h> |