summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2010-12-12 10:42:11 (GMT)
committerXavier Claessens <xclaesse@gmail.com>2010-12-12 10:42:11 (GMT)
commit67129bd663c7ed84fc478acc3fcd5aaef40c4e53 (patch)
tree7ec9ce6ddaa394c6a74dd90a420419e96975e9e0
parenta4ce224a379bee88c53ac06bbe4aa6acc3b72184 (diff)
downloadtelepathy-ssh-contact-67129bd663c7ed84fc478acc3fcd5aaef40c4e53.tar.gz
telepathy-ssh-contact-67129bd663c7ed84fc478acc3fcd5aaef40c4e53.tar.xz
Do not depend on unix anymore
-rw-r--r--configure.ac1
-rw-r--r--src/client-helpers.c3
-rw-r--r--src/client.c7
-rw-r--r--src/common.h1
-rw-r--r--src/service.c2
5 files changed, 4 insertions, 10 deletions
diff --git a/configure.ac b/configure.ac
index 885dc5a..7edbbe6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -30,7 +30,6 @@ PKG_CHECK_MODULES(SSH_CONTACT,
telepathy-glib >= 0.13.2
glib-2.0 >= 2.24
gio-2.0
- gio-unix-2.0
])
# -----------------------------------------------------------
diff --git a/src/client-helpers.c b/src/client-helpers.c
index 8522d9e..444f30a 100644
--- a/src/client-helpers.c
+++ b/src/client-helpers.c
@@ -20,9 +20,6 @@
#include "config.h"
-#include <stdlib.h>
-#include <glib/gstdio.h>
-
#include "client-helpers.h"
#include "common.h"
diff --git a/src/client.c b/src/client.c
index daf49fe..f891555 100644
--- a/src/client.c
+++ b/src/client.c
@@ -20,12 +20,11 @@
#include "config.h"
-#include <stdlib.h>
#include <string.h>
-#include <unistd.h>
+#include <stdlib.h>
+#include <stdio.h>
-#include <glib/gstdio.h>
-#include <gio/gunixsocketaddress.h>
+#include <gio/gio.h>
#include <telepathy-glib/telepathy-glib.h>
#include "client-helpers.h"
diff --git a/src/common.h b/src/common.h
index 34fe8f5..f238ce7 100644
--- a/src/common.h
+++ b/src/common.h
@@ -22,7 +22,6 @@
#define __COMMON_H__
#include <gio/gio.h>
-#include <telepathy-glib/telepathy-glib.h>
#define TUBE_SERVICE "x-ssh-contact"
diff --git a/src/service.c b/src/service.c
index a12f914..f85ca93 100644
--- a/src/service.c
+++ b/src/service.c
@@ -22,7 +22,7 @@
#include <stdlib.h>
-#include <gio/gunixsocketaddress.h>
+#include <gio/gio.h>
#include <telepathy-glib/telepathy-glib.h>
#include "common.h"