Use GSocket and GSocketAddress from GIO.
[cascardo/f2fchat.git] / message.h
index 80ed923..d2fbcc1 100644 (file)
--- a/message.h
+++ b/message.h
@@ -20,8 +20,9 @@
 #define _MESSAGE_H
 
 #include "friend.h"
+#include <gio/gio.h>
 
-int message_init(int sock);
+int message_init(GSocket *sock);
 int ping(struct friend *friend);
 
 #endif