diff options
Diffstat (limited to 'lib/events_glib.c')
-rw-r--r-- | lib/events_glib.c | 5 |
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 ); +} |