aboutsummaryrefslogtreecommitdiffstats
path: root/lib/events_glib.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2010-10-02 20:03:19 -0700
committerWilmer van der Gaast <wilmer@gaast.net>2010-10-02 20:03:19 -0700
commit25b5a4a30f8a767bfd4577aa284bd435f7e5fb97 (patch)
treeaa2a27c1ff03e9a32317a6d0871135d2cb66d1b9 /lib/events_glib.c
parent04f0c10b5a45d0bb1a1f8888e0eb2f6db8fc1b84 (diff)
Make sure events_*.c are fully compatible to callers so plugins built for
a different flavour will still work.
Diffstat (limited to 'lib/events_glib.c')
-rw-r--r--lib/events_glib.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/events_glib.c b/lib/events_glib.c
index d6ac82cc..3fafc872 100644
--- a/lib/events_glib.c
+++ b/lib/events_glib.c
@@ -146,3 +146,8 @@ void b_event_remove(gint tag)
if (tag > 0)
g_source_remove(tag);
}
+
+void closesocket( int fd )
+{
+ close( fd );
+}