summaryrefslogtreecommitdiffstats
path: root/src/udscs.c
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2011-03-25 17:17:41 +0100
committerHans de Goede <hdegoede@redhat.com>2011-04-04 14:04:24 +0200
commit58573d15f4308ba391c16ca0c5316d167b63d7d4 (patch)
tree09c219b64c67d5e810e70cf55d59ba3eda5f1b45 /src/udscs.c
parent7aaac6881e0e906901ab50a14497151935835d0b (diff)
downloadvd_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.c3
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>