aboutsummaryrefslogtreecommitdiff
path: root/src/socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/socket.h')
-rw-r--r--src/socket.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/socket.h b/src/socket.h
index 60ee30fc..3865970b 100644
--- a/src/socket.h
+++ b/src/socket.h
@@ -79,9 +79,11 @@ guint sock_add_watch (SockInfo *sock, GIOCondition condition,
struct hostent *my_gethostbyname (const gchar *hostname);
SockInfo *sock_connect (const gchar *hostname, gushort port);
+#ifdef G_OS_UNIX
gint sock_connect_async (const gchar *hostname, gushort port,
SockConnectFunc func, gpointer data);
gint sock_connect_async_cancel (gint id);
+#endif
/* Basic I/O functions */
gint sock_printf (SockInfo *sock, const gchar *format, ...)